[KML For Google Maps] Strange effect

Forge Component
(2)
Published on 31 Jan by Pedro Costa
2 votes
Published on 31 Jan by Pedro Costa

Hi everyone


I'm using this component to add a kml layer to a google map, containing a polygon corresponding to a province .


The effect is that it seems that it adds the layer two times, instead of doing only once. What happens later is that when i try to delete the KML layer, it deletes only one of the two added previously, and always remains the other one.


Does anybody has had the same problem ?


Thanks in advance

There is an option of draw order in the properties of polygons, but if you are using overlays then it doesn't work.

Solution

Alberto Donat wrote:

Hi everyone


I'm using this component to add a kml layer to a google map, containing a polygon corresponding to a province .


The effect is that it seems that it adds the layer two times, instead of doing only once. What happens later is that when i try to delete the KML layer, it deletes only one of the two added previously, and always remains the other one.


Does anybody has had the same problem ?


Thanks in advance

Hi Alberto, 


Please read this discussion https://www.outsystems.com/forums/discussion/54148/unabke-to-remove-kml/


Best regards, Isabella


Solution

Isabella Andrade wrote:

Alberto Donat wrote:

Hi everyone


I'm using this component to add a kml layer to a google map, containing a polygon corresponding to a province .


The effect is that it seems that it adds the layer two times, instead of doing only once. What happens later is that when i try to delete the KML layer, it deletes only one of the two added previously, and always remains the other one.


Does anybody has had the same problem ?


Thanks in advance

Hi Alberto, 


Please read this discussion https://www.outsystems.com/forums/discussion/54148/unabke-to-remove-kml/


Best regards, Isabella


Thanks a lot Isabella.

it works