Google Maps Plugin

Google Maps Plugin

  

I'm trying to use the objects overlayed on the map but the touch functions doesn't work, in the plugin documentation says to place map.setClickable(true/false) but I don't know how to set it up.

Can someone help me.!

Hi,

Could you be more specific what you want?
Is it on mobile or on web?

Do you have an eSpace?

Cheers

Johan den Ouden wrote:

Hi,

Could you be more specific what you want?
Is it on mobile or on web?

Do you have an eSpace?

Cheers

It's a mobile app... a have a Map on a screen and a button over the map, when I want to click the button I'm not able to do it..


I tried to use the following script to make it clickable.

var map = plugin.google.maps.Map.getMap();
map.addEventListener(plugin.google.maps.event.MAP_READY, function onMapInit(map) {
  // The map is initialized, then show a map dialog
  alert(map);
  map.setDebuggable( true );
  map.setClickable( true );
});

I guess the problem is the button. Is the button of your own?

The map.setClickable means the map is clickable, not the button.

Can you share your eSpace?

Yeah the map is of my own.. I'm new at this.. how do I share my espace?

You can export the eSpace by Module -> export -> Save as

Please make a clean solution as possible. 

Johan den Ouden wrote:

You can export the eSpace by Module -> export -> Save as

Please make a clean solution as possible. 


You can see this problem also in the google maps plugin Demo.. you can't click on the objects over the map... I'm making tests over a Samsung S8plus