Enabling 3D maps in the Maps Layout
With 3D map types turned on, a Map View can show your entries on Google’s photorealistic 3D map. Visitors switch between the 3D map and the 2D map with a button on the map.
Video walkthrough #
Before you start #
- Maps is built into GravityView Pro. To turn it on or off, go to Plugins and click Features in the GravityView Pro row.
- On a GravityView + Extensions (Legacy) license, Maps is a separate plugin, and the settings below need version 3.10.0 or later of it. About the “GravityView + Extensions (Legacy)” license shows how to install it.
- You need a Map View that already shows your entries. Getting started with the Maps Layout sets one up. The 3D map uses the same Maps Key as the 2D map.
Turning on 3D map types #
- Edit your View. In the Settings box, click the Maps tab.
- Turn on Enable 3D map types in the 3D Maps row. Map Type now also lists 3D Satellite and 3D Hybrid.

- Under Map Type, choose 3D Satellite for satellite imagery without labels, or 3D Hybrid for satellite imagery with place names and road labels.
- Click Update.
The map now opens in 3D. Starting View, below, can make it open in 2D instead.
Note: You can also keep Satellite or Hybrid chosen with Enable 3D map types turned on. The map then opens in 2D, and a 3D button lets visitors switch. Street and Terrain show no 3D button.
Choosing how the map opens #
Starting View shows once a 3D map type is chosen. It sets what visitors see first:
- Open in 3D (the default): the 3D map.
- Open in 2D satellite view: a 2D satellite map with a 3D button.
- Open in 2D map view: a 2D street map with a 3D button.

Marker clustering works on the 2D map only. With clustering on, the 3D map shows every marker on its own, so a View with many locations can open in 2D and show clusters first.
Showing the 3D button only when zoomed in #
Minimum Zoom for 3D hides the 3D button until the map is zoomed in far enough:
- No Minimum (the default): the 3D button always shows.
- 1 to 18: the button shows only at that zoom level or closer. Higher numbers are closer.
Using the 3D map #
Visitors see these buttons on the map:
- 3D, at the top left of the 2D map: switches to the 3D map.
- 2D, on the 3D map: returns to the 2D map with the same imagery. 3D Hybrid returns to the 2D map with labels, and 3D Satellite to the 2D map without them.
- Satellite or Hybrid, on the 3D map: hides or shows the labels.
- The full screen button, at the top right of the 3D map: shows the map full screen.

With info boxes turned on, a click on a marker of the 3D map opens a box with a View Details link to the entry. Each box has a close button, and opening one closes the one before.
When 3D can’t load #
Some browsers can’t draw the 3D map. The map then shows the matching 2D map, Satellite or Hybrid. Users who can edit View settings see this notice above it, and visitors see only the 2D map:
“3D Maps is unavailable in this browser or region. The map is using the 2D Satellite/Hybrid fallback.”
How many markers the 3D map shows #
The 3D map shows up to 250 markers. Past that limit, users who can edit View settings see a notice on the map, and visitors don’t. A developer can change the limit with the gk/gravitymaps/maps/3d/marker-cap filter.
Troubleshooting #
3D Satellite and 3D Hybrid are missing from Map Type
Turn on Enable 3D map types in the Maps tab of the Settings box.
Starting View and Minimum Zoom for 3D are missing
They show only while 3D Satellite or 3D Hybrid is chosen under Map Type.
The map has no 3D button
Check these:
- Map Type is Street or Terrain. Choose Satellite, Hybrid or a 3D type.
- The map is zoomed out further than Minimum Zoom for 3D. Zoom in, or lower the setting.
- The browser can’t draw the 3D map. Users who can edit View settings see a notice above the map that says so.
Some markers are missing in 3D
More markers are in view than the 3D map shows. Zoom in, or have a developer raise the limit with the gk/gravitymaps/maps/3d/marker-cap filter.
For developers #
These hooks change the 3D map:
gk/gravitymaps/maps/3d/options(PHP filter): the 3D settings passed to JavaScript.gk/gravitymaps/maps/3d/marker-cap(PHP filter): the largest number of markers on the 3D map (default250).gk/gravitymaps/map-services/google-maps/libraries(PHP filter): the Google Maps JavaScript libraries that load.gk.maps.services.google_maps.maps3d.settings,gk.maps.services.google_maps.maps3d.create_marker_optionsandgk.maps.services.google_maps.maps3d.create_pin_options(JavaScript filters): the 3D settings, markers and pins.gk.maps.services.google_maps.maps3d.fallback(JavaScript action): runs when the map falls back to 2D.