Hello,


I already asked this question on the Google Fusion group. They could 
reproduce the problem but told me that I should ask it here.


   I am currently using a Google Fusion table inside my Google Maps. I made 
a custom click function which add's a polygon with a KML layer of the 
selected Polygon on top of the Google Fusion table to give a 'clicked on 
this polygon' effect, and you can also select multiple poloygon's by holding 
the shift button.


But whenever I add a KML polygon, the whole Google Fusion layer refreshes 
(so disappaears and appears again) which is kind of ugly and not really 
usable.


Am i doing something wrong, and is there a way to *not* let the Google 
Fusion Layer (and also the KML layer) refresh on adding/changing a layer?


*Technical steps:*

I have a Google Fusion layer (that's what you see when you start the 
website). When you then click on a Polygon, the infowindow is suppressed and 
catched by the website, this has the ID in it, with that ID i look up the 
Polygon information of that same Polygon in my own MySQL database and add a 
KML layer on top of the Google Fusion layer. This is for the feedback that 
you have clicked a layer (you can use shift to select multiple layers).


The relevant code can be found in:

http://klanten.visualweb.nl/googlemaps-test/js/layers/kadaster.js 

line 48: showing of the Google Fusion layer

line 61: listener for the clicking event on a Google Fusion Layer

line 75: adding the KML layer 


The website can be found at:

http://klanten.visualweb.nl/googlemaps-test/


Best regards,

Bob Violier

VisualWeb

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/YU9FX1E0OFhFRjBK.
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-js-api-v3?hl=en.

Reply via email to