Re: Problem showing markers with custom tile layer
On May 12, 2:45 pm, "Morgan O'Neal" <ghostb...@gmail.com> wrote:
> I have a custom tile layer and map type. Everything is working fine
> till I try to load markers using a GGeoXml source. The markers do now
> show unless I have a normal map type displaying (map, satellite ...).
> If I have a normal map layer and switch to my custom layer the markers
> show but this is not what I want.
>
> Does anyone know why makers would not show when I only load my map
> type?
Something is wrong with the map. Can't tell what as I can't see
it...
>
> Does a map type need to have the markers defined and if so how do I do
> that?
No.
>
> // Does not show markers
> map.setCenter(new GLatLng(0,0), 11, mapType);
What is mapType?
-- Larry
>
> // Does show markers
> map.setCenter(new GLatLng(0,0), 11);
>
> --
> 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 athttp://groups.google.com/group/google-maps-api?hl=en.
--
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