This site requires JavaScript, please enable it in your browser!
Greenfoot back
SliderG
SliderG wrote ...

2021/1/20

Update to maps helper class?

SliderG SliderG

2021/1/20

#
In the "maps" helper class, there is a class that creates a Greenfoot image out of a Google map. It's throwing an error because it's can't find the file. It may be that the Google Maps API has changed its URL since this Greenfoot class was put together. The code contains the following line: private final String urlBase = "http://maps.googleapis.com/maps/api/staticmap?sensor=false"; I looked on the Google Maps API documentation to try to figure out what to replace this with, but no success so far. Any ideas how to bring this up to date?
You need to login to post a reply.