Vector

Anders Modén

10 Reputation

One Badge

1 years, 280 days
Saab
Sweden
Math as hobby. Number Theory Work with Maps

MaplePrimes Activity


These are replies submitted by Vector

@Joe Riel 

how do you do to debug those commands and singlestep them?

@Christopher2222 

thanx.  Good to know.  I work with Maps and coordinates so let me know if i can help

@Joe Riel 

what OS?

but did you see the Maps?

@acer 

I am new to Maple and found a command version()

I also added the command output from the package and my os version

@acer 

User Interface: 1657361
         Kernel: 1657361
        Library: 1657361

macOS 12.6.2 (21G320)

Used the supplied file in the package and it didn't execute ok. All maps were empty

with(GoogleMaps);
                      [FindLonLat, GetMap]

You can specify a location in natural language
GetMap(location = "615 Kumpf Drive, Waterloo, Ontario", zoomlevel = 16, maptype = "hybrid", size = [500, 300]);
                               0

You can also specify the longitude and latitude of a location.
GetMap(latitude = 52.462495, longitude = -1.813473, zoomlevel = 17, size = [500, 300], maptype = "roadmap");
The package offers 81 different styles for roadmaps.
GetMap(location = "Waterloo, Ontario", zoomlevel = 13, size = [500, 300], style = 48, maptype = "roadmap");
GetMap(location = "Waterloo, Ontario", zoomlevel = 13, size = [500, 300], style = 32, maptype = "roadmap");
GetMap(location = "Waterloo, Ontario", zoomlevel = 13, size = [500, 300], style = 21, maptype = "roadmap");
Geocoding
You can also find the latitude and longitude of a location with the Google Geocoding API
FindLonLat("Swan Centre, Yardley, Birmingham");
Error, (in MIMEHandler:-ToFile) cannot generate temporary file
FindLonLat("Waterloo");
Error, (in MIMEHandler:-ToFile) cannot generate temporary file
DocumentTools:-Tabulate(FindLonLat("Waterloo"));
Error, (in MIMEHandler:-ToFile) cannot generate temporary file

Page 1 of 1