Select to view content in your preferred language

Flex 2.4 Renders KML KMZ layers off by 3000 km

786
2
01-23-2013 07:32 AM
stevemclaughlin
Occasional Contributor
Flex 2.4 Renders KML KMZ layers off by 3000 km

Hi, take the Flex api example 'Layers/Basic KML Layer'

http://resources.arcgis.com/en/help/flex-api/samples/#/Basic_KML_Layer/01nq00000079000000/

and run it, the layer is centered over the
US, take the same code and replace the arcgis lib with the 2.4 version 'agslib-2.4-2011-07-25.swc'
run it again without any code changes and the kml layer is about 3000 km south - now covering central america.

Loading the kmz file into google earth, shows the layer covering the US, so the example running with the Flex 3.0 lib
shows the correct translation.

Just curious is the error in rendering caused by the kmz service utility or ??
thanks,
steve
Tags (2)
0 Kudos
2 Replies
BjornSvensson
Esri Regular Contributor
Flex 2.4 Renders KML KMZ layers off by 3000 km .... Flex 3.0 [is] correct...

Just curious is the error in rendering caused by the kmz service utility or ??


If it's fixed in a later API version then it's probably not the utility service.

It might have been fixed in version 2.5:
* Improved KML support
http://resources.arcgis.com/en/help/flex-api/concepts/index.html#/What_was_new_in_ArcGIS_API_for_Fle...
0 Kudos
stevemclaughlin
Occasional Contributor
Thanks, I was looking for that doc,  that must be it, under Bug Fixes for Flex 2.5:

* Map images in KML layers placed correctly
0 Kudos