-
Notifications
You must be signed in to change notification settings - Fork 6
Race Demo
20 Mercedes 1904 cars participate in a infinite race. 3D car models are used for Google Earth Javascript API.
- Leaflet
- Google Earth Javascript API
- Google Maps API
- Yandex Maps API
- ArcGIS API for JavaScript
- djeo native engine
Leaflet, Google Maps API, Yandex Maps API do not support icon orientation out of the box. It is simulated via pre-generated sprites. Google Maps API and Yandex Maps API can handle a single image with 360 icon orientations. 360 images each for a specific icon orientation are used to simulate icon orientation in Leaflet.
Use python scripts make_sprites.py or rotate_icon.py from https://github.com/vvoovv/djeo-utils to generate sprites. make_sprites.py generates a single image with 360 icon orientations. rotate_icon.py generates 360 images each for a specific icon orientation. Install PIL python library from http://www.pythonware.com/products/pil/ to run the scripts.