Questions tagged [ol3-google-maps]

OL3-Google-Maps is an open-source library designed to let users add Google Maps layers to an OpenLayers 3 map.

OL3-Google-Maps is a library used as an add-on for OpenLayers 3. It allows users to add Google Maps layers to their OpenLayers map. http://mapgears.github.io/ol3-google-maps/

Resources for beginners:

See also:

22 questions
0
votes
1 answer

Transferring the Google Maps API V3 "styles" to OpenLayers using ol3gm

I have a map made with the google maps api v3, that has the style that I want. But I have no idea how to implement it (if at all possible) into OpenLayers. I will add the code that I wish to add to open layers below. I saw ol3gmp and hoped it was…
Chimiboy
  • 3
  • 1
  • 4
0
votes
1 answer

Prevent tilt in Google satellite layer in ol3-google

I am very grateful to those at MapGears for the excellent ol3-google integration work. My query is whether it is possible to set the Google Satellite layer to NOT tilt at higher zoom levels? I realise this is the default behaviour, but in…
ChrisF
  • 23
  • 2
0
votes
1 answer

mapgears ol3-google-maps - TypeError: this.setMap is not a function

I am trying to use mapgears/ol3-google-maps, but even the basic examples are not running. I am getting following error message. TypeError: this.setMap is not a function
Saurabh
  • 1
  • 2
0
votes
1 answer

zIndex issue on regular shape for ol3-google-maps

I just want to use some ol.style.RegularShape but they actually don't fit the right z-index. Indeed if I setAt() the layer to 0 (zero), I see only the shapes but not the map (the actual google layer). In the other hand, If I set to 1 I only see…
zorta86
  • 49
  • 1
  • 9
0
votes
2 answers

ol.Map not a function to Safari and map not displaying in IE11

I've got a map (see code below) OpenLayers3, using the ol3-google-map library, that displays the map correctly in both Firefox and Chrome without any kind of error. But, where I try to run it on IE (and it HAS to run on IE as well), i got this…
-1
votes
1 answer

Using ol3-google-maps with Openlayers 4

I have tried to use ol3-google-maps with Openlayers v4.6.5 by changing the example from http://mapgears.github.io/ol3-google-maps/ to import the script source for this version in the page, but nothing is displayed and no errors are logged to the…
JoaoLJr
  • 13
  • 3
-1
votes
1 answer

Circle not draw in Google Maps with OpenLayers

I am trying to draw a circle in OpenLayers using Google Maps (olGM). I don´t know why it not draw a circle, because in OSM working perfectly. var circle = new ol.geom.Circle(ol.proj.transform([latd, lond], 'EPSG:4326', 'EPSG:3857'), 1000); var…
1
2