ESRI Vector Tile Layer and google maps

523
1
06-01-2023 04:51 AM
RobertO
New Contributor

Is it possible to easily embed vector tile server as a layer on google maps? I found some libraries, but mostly there is a problem with symbolization - styles. Example: https://github.com/techjb/Vector-Tiles-Google-Maps. I would like to show layer on google map for example: https://tiles-eu1.arcgis.com/DwKbdyiD3sKjbwFA/arcgis/rest/services/VT_Rob/VectorTileServer (https://maps.arcgis.com/apps/mapviewer/index.html?layers=41e3638737ce4cb2ae1a120c0fbce3cd). Maybe someone has experience with this? I will be grateful for tips.

0 Kudos
1 Reply
Tek
by
New Contributor

There is no built-in method in Google Map js API to load the vector tile and unfortunately, vector-tiles-google-maps is the only way to load. The plugin doesn't support ArcGIS default vector tile style but you can manually assign them as similar in this example: https://techjb.github.io/Vector-Tiles-Google-Maps/examples/styles-feature.html

 

0 Kudos