hey everyone,
So I have had a delema ever since I downloaded and installed Erics updated Route Editor. I used to be able to get the google earth maps no problem and now I can't seem to get them to work for the life of me. Can anyone tell me what I am doing wrong here? I already have an API for google earth maps and have it in the settings but it still will not pull up for me as you can see in the screen shots. Any help would be appreciated.
Thanks,
Brandon
Screenshot 2024-06-19 142515.jpg (322.04K)
Number of downloads: 20
Page 1 of 1
Making an API work for Google Maps
#2
Posted 19 June 2024 - 12:29 PM
You've duplicated the key.
Delete the key after the "key=" in the ImageMapURL field.
Delete the key after the "key=" in the ImageMapURL field.
#3
Posted 19 June 2024 - 12:59 PM
#4
Posted 19 June 2024 - 01:15 PM
Can't tell now that you removed the image with your settings file, but make sure the // is removed at the beginning of the line if it's still there. Otherwise, it's commented out.
#5
Posted 19 June 2024 - 02:00 PM
Hey Eric,
So this is how I currently have it set up and for some reason it still is not working. Not quite sure what I am doing wrong here as it always just worked when I put in the API code.
Brandon
Screenshot 2024-06-19 165512.jpg (504.87K)
Number of downloads: 17
So this is how I currently have it set up and for some reason it still is not working. Not quite sure what I am doing wrong here as it always just worked when I put in the API code.
Brandon
Screenshot 2024-06-19 165512.jpg (504.87K)
Number of downloads: 17
#6
Posted 19 June 2024 - 02:37 PM
Yeah, you've got it wrong.
//// Image Maps require a valid API key from either Google or MapBox // //// Google imageMapsUrl = http://maps.googleapis.com/maps/api/staticmap?center={lat},{lon}&zoom={zoom}&size={res}x{res}&maptype=satellite&key= MapAPIKey = [my api key for Google] //// MapBox //// See https://docs.mapbox.com/api/maps/static-images/ for parameter options // // imageMapsUrl = https://api.mapbox.com/styles/v1/mapbox/satellite-v9/static/{lon},{lat},{zoom}/{res}x{res}?access_token= // MapAPIKey = [my api key for mapbox] //// MapBox needs this offset setting to be -1: // imageMapsZoomOffset = -1
Page 1 of 1