Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aliciaduffy/generic-map
https://github.com/aliciaduffy/generic-map
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aliciaduffy/generic-map
- Owner: aliciaduffy
- Created: 2013-10-31T21:00:29.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-24T03:05:09.000Z (almost 11 years ago)
- Last Synced: 2024-08-01T12:18:55.850Z (3 months ago)
- Language: CSS
- Size: 566 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - aliciaduffy/generic-map - (others)
README
generic-map
===========This is an example plugin demonstrating how to map locations in WordPress using custom post types and leafletJS. Created for WordCamp Raleigh 2013 - slides here: [http://www.slideshare.net/aliciaduffy/responsive-maps](http://www.slideshare.net/aliciaduffy/responsive-maps)
To use:
1) Replace API-KEY Placeholders
- Google Maps API Key / generic-map.php line 172
wp_register_script( 'googlemaps', 'http://maps.googleapis.com/maps/api/js?v=3&key=API-KEY&sensor=false' );
- Cloudmade API Key, or other map tile source / leaflet-config.js line 6
L.tileLayer('http://{s}.tile.cloudmade.com/API-KEY/1/256/{z}/{x}/{y}.png'
2) Activate Plugin3) Create a location. Location symbol list choices are here: http://fontawesome.io/icons/ (remove 'fa-')