Hi
I tried suggested piece of code, but it doesn't work.
I can still see some default locations added by Google.
I tried to put code in Settings - Map - Styled maps
and in Joomla menu item (Basic options - Styled maps) which calls hotspots component.
Website is being developed locally so I cannot publish live link.
Joomla 2.5.11
Hotspots 3.4 (upgraded from 3.3)
EDIT:
I've did it "dirty" way:
In file "media/com_hotspots/js/sandbox.js"
After this comment line "// add the styled maps option" approx line 176
I've added this:
var mapStyle = [{
featureType:"poi",
elementType:"labels",
stylers:[{
visibility:"off"
}]
}]
var mapOptions = {
styles: mapStyle};
So far it seems that this works - no bugs (and Google POIs) shown
Thanks
Regards