Woops, sorry for the JS script, that's corrected.
I'll try to explain what I want to have :
When hovering a region on the map, some div will popup with some text
on it. When clicking the region, the user will be redirected to the
region's specific page.
Here's what I want this to look like : 
http://marc.brio.free.fr/test_kml/france-hover.jpg

Won't polygons be using too much memory ? Or is memory usage the same
with the kml files ?

On 15 avr, 15:29, "[email protected]" <[email protected]> wrote:
> On Apr 15, 5:56 am, captain_torche <[email protected]> wrote:> Thank you 
> all, but I still don't understand how I could do so.
> > Maybe a little explanation will be more useful :
> > I have a map of france, on which I show french regions (You can see it
> > here :http://marc.brio.free.fr/test_kml/)
> > When clicking or hovering on a region, I don't want the normal
> > "bubble" to open : I want to customize its look.
> > You can see what I've achieved here :http://marc.brio.free.fr/test_kml/
> > The first button shows the method I used before asking the question,
> > the second one show a test I did today with EGeoXml
> > Is there a way i could do what I'm trying to do ?
>
> Definitely.  Although I'm not sure I understand exactly what it is you
> are trying to do...
>
> > Have I got to use polygons ?
>
> No. But given that you have them, that might be easiest at this point.
>
> BTW - you should download egeoxml and upload it to your server, not
> use the version on Mike's site (the below is from your page and uses
> the version from Mike's site...):
> <script type="text/javascript" src="http://econym.googlepages.com/
> egeoxml.js"></script>
>
>   -- Larry
>
>
>
> > Thanks for all your help.
>
> > On 14 avr, 17:16, Rossko <[email protected]> wrote:
>
> > > > I'm trying to add a listener on a polygon loaded with a kml file. I
> > > > tried to do like this :
>
> > > You can't do it like that using GGeoXml.  It doesn't create just one
> > > 'thing' it's more like a whole layer (what if your KML contained more
> > > polys and markers, which it might)
>
> > > You can add things to the KML to show on click.  If you want something
> > > more complex, it can be done by using alternative means.  Example 
> > > -http://groups.google.com/group/Google-Maps-API/browse_thread/thread/6...
>
> > > cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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