Limits CenterAndZoom
Within the known routine GPXLoader the next part uses the Metadata to
focus on the track.
Metadata:
- <bounds maxlat="52.2992381" maxlon="5.9279764" minlat="52.2835675"
minlon="5.9110412" />
Source Code:
- parser.CenterAndZoom(request.responseXML, G_HYBRID_MAP);
After changing from Garmin Mapsource to Garmin BaseCamp I found out
that The generated metadata was slightly changed:
New Metadata:
<bounds maxlat="52.299238052219152" maxlon="5.927976379171014"
minlat="52.283567497506738" minlon="5.911041162908077" />
Expanding the number of decimals will put CenterAndZoom into a fatal
error.
Manually changing the decomals back to max 7 figures solves the
problem. :-(
Without totally changing the GPX loading routine, can somebody help me
to clearing up this problem?
Is it a bug within the API?
Thanks in advanced
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home