[mapguide-commits] r9156 - sandbox/jng/clean_json/Common/PlatformBase/Services

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Apr 19 08:27:47 PDT 2017


Author: jng
Date: 2017-04-19 08:27:47 -0700 (Wed, 19 Apr 2017)
New Revision: 9156

Modified:
   sandbox/jng/clean_json/Common/PlatformBase/Services/GeoJsonWriter.cpp
Log:
Fix bad cast

Modified: sandbox/jng/clean_json/Common/PlatformBase/Services/GeoJsonWriter.cpp
===================================================================
--- sandbox/jng/clean_json/Common/PlatformBase/Services/GeoJsonWriter.cpp	2017-04-19 15:26:54 UTC (rev 9155)
+++ sandbox/jng/clean_json/Common/PlatformBase/Services/GeoJsonWriter.cpp	2017-04-19 15:27:47 UTC (rev 9156)
@@ -300,7 +300,7 @@
         {
             str += prefix;
             str += L"{ \"type\": \"MultiPoint\", \"coordinates\": ";
-            MgMultiPoint* multi = (MgMultiPoint*)multi;
+            MgMultiPoint* multi = (MgMultiPoint*)geom;
             STRING strMulti;
             MultiPointToGeoJson(multi, strMulti);
             str += strMulti;



More information about the mapguide-commits mailing list