Mike,
do I need any trick to use encoded polylines on NASA maps?

Thanks in advance for your help

On Sep 26, 10:43 am, frankie <[EMAIL PROTECTED]> wrote:
> once again THANK YOU VERY MUCH for you help Mike!
>
> On Sep 25, 12:47 pm, Mike Williams <[EMAIL PROTECTED]> wrote:
>
> > Wasn't it frankie who wrote:
>
> > >This happened because I tried to insert thousands of tracks. I've
> > >removed them and now only 2 tracks are present to test the
> > >visualization.
> > >Now I've a NEW PROBLEM
> > >When I choose polar projection, tracks are drawn out of the map. I
> > >would be able to draw only the part within the map.
> > >any idea on how to do it?
>
> > If you're using the NASA projections, then you have to break all your
> > polylines at the point where they cross the equator. Keep a note of
> > which halves of the broken polylines are in each hemisphere. Call
> > poly.hide() on all the polygons and markers that are in the opposite
> > hemisphere.
>
> > With the NASA polar projections, anything in the opposite hemisphere is
> > displayed in a region for which there is no imagery.
>
> > See:http://econym.org.uk/gmap/example_nasa.htm
> > The outer polyline circle on that page is the equator. Any marker or
> > polyline that is South of the equator gets plotted outside that ring.
>
> > If you're using your gmap_polar.js projections, then the further
> > hemisphere all gets mapped onto the equator, rather than outside it. So
> > that shouldn't be as much of a problem.
>
> > [Extra free hint for your gmap_polar.js code. The API now holds the
> > GLatLng() information internally as radians, so it would be neater and a
> > little more efficient to use l.latradians(), rather than (Math.PI/180) *
> > l.lat()]
>
> > --http://econym.org.uk/gmap
> > The Blackpool Community Church Javascript Team

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to