[squeak-dev] ANN: TiledMaps library - OpenStreetMaps, Bing Maps, Thunderforest maps and so on

Marcel Taeumel marcel.taeumel at hpi.de
Mon Feb 12 08:44:32 UTC 2018


Woah, cool! :) Thank you!

+1 for the screencast. :-D

Best,
Marcel
Am 11.02.2018 20:07:10 schrieb Tony Garnock-Jones <tonyg at leastfixedpoint.com>:
Hi all,

Today I've been hacking on a thing called TiledMaps:

http://squeaksource.com/TiledMaps.html

The package can load and cache static, prerendered map tiles from a
variety of sources including OpenStreetMaps, Bing Maps, and so on.

It includes a geocoder query service which maps free-text queries to
regions of the planet's surface. The service can be backed by the
Nominatim service (associated with OpenStreetMaps), the Bing geocoder,
the Google geocoder, and so on.

Selection of tilesets is independent of selection of geocoder, so you
can mix and match.

The package includes a "slippy map" morph called TiledMapMorph, that
allows interaction with a map using the mouse. It includes a few hooks
for EToys, too, so EToys scripting of the map is possible.

I've recorded a short (

https://youtu.be/T_TDhAAxuy0

Cheers,
Tony

PS. All the Bing services require an API key. You can get one of your
own from https://www.bingmapsportal.com/. Included in the package are a
few other tile sources and geocoders that need API keys as well - you'll
need to check the websites and terms&conditions for each service you
want to use.

PPS. In particular, Google's terms&conditions explicitly forbid
downloading map tiles without going through their Javascript API. The
package honours this restriction.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180212/c00e9627/attachment-0001.html>


More information about the Squeak-dev mailing list