sghaskell / maps-plus

Maps+ for Splunk
Other
18 stars 3 forks source link

Splunk maps Tile Override #4

Closed OsmaryA closed 5 years ago

OsmaryA commented 5 years ago

HI,

we are using the previous version of splunk maps, and now upgrade to this, but we have a option that use a TilesOverride, and let be choose for a token, and now is not working.

This is an example of my code:

    <option name="leaflet_maps_app.maps-plus.TileOverride">http://mt1.google.com/vt/lyrs=$tile$&amp;x={x}&amp;y={y}&amp;z={z}</option>

And for the token:

Satelital
  <choice value="m">Mapa</choice>
  <choice value="p">Terreno</choice>

Please can you confirm that this option continues to work?

Thanks a lot.

This is how looks now: imagen

sghaskell commented 5 years ago

@OsmaryA

It should work just fine. It seems the token values you're passing to lyrs are not valid. Have a look here.

https://answers.splunk.com/answers/186394/how-to-specify-google-maps-url-for-map-tiles-in-sp.html

Just update the token values to the correct lyrs value and it should work fine. Here's an example using p (terrain).

http://mt1.google.com/vt/lyrs=p&x={x}&y={y}&z={z}

screen shot 2018-12-13 at 9 00 48 am