Smart Name on Leaflet Maps
Smart Name on Leaflet Maps
Is there any way to put the LCP points and the smart name on the cache in the leaflet maps in GSAK? Like we did with the Google maps.
- Corfman Clan
- Global Moderator
- Posts: 911
- Joined: January 17th, 2012, 12:21 am
Re: Smart Name on Leaflet Maps
To get the current cache points and the next find cache points showing on the leaflet maps, I tried what I had with the Google Maps and it seems to work the same. Basically run the leaflet maps macro, then when the map comes up, right click on the map and select "Options". It will switch back to GSAK and the options dialog will be brought up. For, Show text labels, select the Additional Only radio button, and add the following into the Additional Fields textbox:
Next, click on OK to save the settings.
Code: Select all
cCP,',',nfCP
Re: Smart Name on Leaflet Maps
Thanks Russ. I'll give it a try.
Re: Smart Name on Leaflet Maps
I was able to get the nfCP but have been unable to have both the cache name and the nfCP visible at the same time. I tried this one. I think it's the one I used with the Google Maps: %custom_nfCP%blank%shortname. Boy did it ever mess it up. Any thoughts?
Re: Smart Name on Leaflet Maps
this is what I used to get.
- Corfman Clan
- Global Moderator
- Posts: 911
- Joined: January 17th, 2012, 12:21 am
Re: Smart Name on Leaflet Maps
Do you still have the GoogleMapsV3.gsk macro installed? If so, run it, but hold the shift key down when you do. That should bring up the options menu. The options should be the same or very similar to those with the Leaflet_Map.gsk macro. Make note of all the options (maybe use the snipping tool to get a screen capture). Hit the X in the top right and the macro will be cancelled. Run the Leaflet_Map macro, again holding down the shift key when you launch it to bring up the options. Set the options as you had them in GoogleMapsV3.
If that doesn't work, or if GoogleMapsV3 is no longer installed, you probably still have the GoogleMapsV3 settings file. It's essentially the same as that for the Leaflet_Map macro, so you should be able to copy settings through it. From the GSAK menu: Tools => File Finder..., select Macros and click Show. That will open File Explorer in your macros folder. Find the file, LeafletMaps.xml and rename it to LeafletMapsSav.xml. Now find the file GoogleMapsV3.xml, right click on it and select copy. Next right click on the folder window (just not on a file), and select paste. That should create the file, GoogleMapsV3 - Copy.xml. Rename it to LeafletMaps.xml. Now try running leaflet maps and see if that works.
If that doesn't work, or if GoogleMapsV3 is no longer installed, you probably still have the GoogleMapsV3 settings file. It's essentially the same as that for the Leaflet_Map macro, so you should be able to copy settings through it. From the GSAK menu: Tools => File Finder..., select Macros and click Show. That will open File Explorer in your macros folder. Find the file, LeafletMaps.xml and rename it to LeafletMapsSav.xml. Now find the file GoogleMapsV3.xml, right click on it and select copy. Next right click on the folder window (just not on a file), and select paste. That should create the file, GoogleMapsV3 - Copy.xml. Rename it to LeafletMaps.xml. Now try running leaflet maps and see if that works.
Re: Smart Name on Leaflet Maps
I'm in luck. I still have the maps installed. Thanks once again Russ.
Re: Smart Name on Leaflet Maps
I followed your instructions and they worked just as you thought they would. You're the best. THANK YOU!
Re: Smart Name on Leaflet Maps
All went well with my laptop and windows 7 but when I tried it with the pc and windows 10 I get this error.
Re: Smart Name on Leaflet Maps
Well I must have missed a stroke because I just tried it again and the stars lined up and the map ran wuth names and points. Thank You once again for being patient with me and helping.
- Corfman Clan
- Global Moderator
- Posts: 911
- Joined: January 17th, 2012, 12:21 am