Monday, November 16, 2009

Re: KML parse map issues

Please, Please can I get some direction here.

I am using:

var exml = new GeoXml("exml", mmap, "isla0017a.kml",
{sidebarid:"the_side_bar",sortbyname:true,allfoldersopen:true,
iconFromDescription:false,iwwidth:250,
domouseover:false,directions:false});

I do this to get the sidebar behavior I want.

My site is http://www.myislamap.com/map.htm

It seems the top folder/document is what is preventing any setCenter I
use after the parse statement.
Does the problem lie in the KML file or how I have written the page?

I want to control the sidebar clicks. Right now you can click on a
folder, I dont want the map to do anything in this case.
When clicking on a polygon, the map zooms all the way in, I dont want
a zoom here, just the same kind of event that brings
up an infoWindow like the markers do.

Thanks


On Nov 14, 5:04 pm, tanos_8888888888 <tanos8888888...@gmail.com>
wrote:
> My page is located here:
>
> http://www.myislamap.com/map.htm
>
> Went with the GeoXml to get the sidebar to have the folders like they
> are there now.
>
> I have a couple of problems.
>
> The mmap.setCenter  does not center or zoom the map, I am zoomed out
> all the way
> to the whole world.
>
> When clicking a polygon in the sidebar, the map zoom in all the way.
> I do not want the map to zoom with polygon clicking.  How do I turn
> that off?
>
> Lastly, when I click a folder from the sidebar, the map zooms in all
> the way then too.
>
> Thanks so much in advance for the help so far.

--

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=.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate