All Projects → mapbox → locator

mapbox / locator

Licence: other
A quick and easy way to build maps with markers

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Labels

Projects that are alternatives of or similar to locator

streambot
DEPRECATED (SEE README) Robot-assisted deploys to Lambda
Stars: ✭ 39 (+30%)
Mutual labels:  banished
node-eio
Control libeio from JavaScript
Stars: ✭ 14 (-53.33%)
Mutual labels:  banished
geojson-summary
Generate a plain-english summary of what is in a GeoJSON file.
Stars: ✭ 31 (+3.33%)
Mutual labels:  banished
mapbox-directions.js
Leaflet plugin for the Mapbox Directions API
Stars: ✭ 55 (+83.33%)
Mutual labels:  banished
grib-doctor
Utilities for handling quirks of weather data grib files.
Stars: ✭ 20 (-33.33%)
Mutual labels:  banished
diversify
Script for quickly creating varying sizes of app icons for iOS project asset catalogs.
Stars: ✭ 58 (+93.33%)
Mutual labels:  banished
cligj
Click-based argument and option decorators for Python GIS command line programs
Stars: ✭ 35 (+16.67%)
Mutual labels:  banished
cloudwatch-librato
Fetch AWS CloudWatch metrics and submit to Librato Metrics
Stars: ✭ 13 (-56.67%)
Mutual labels:  banished
nepomuk
A public transit router for GTFS feeds (currently only static) written in modern c++
Stars: ✭ 22 (-26.67%)
Mutual labels:  banished
geojson-coords
Extract coordinates from GeoJSON.
Stars: ✭ 29 (-3.33%)
Mutual labels:  banished
geocode-many
given an array of objects and a transform into a geocodable string, geocode them if possible
Stars: ✭ 13 (-56.67%)
Mutual labels:  banished
iconoblast
App icon dev info burning for iOS and Android.
Stars: ✭ 19 (-36.67%)
Mutual labels:  banished
weekend-picks-template
A template for browsing layers of TileMill maps. Part of the Map Sites templates from MapBox.
Stars: ✭ 24 (-20%)
Mutual labels:  banished

Locator

This template demonstrates a widget for creating and sharing simple MapBox maps with one or more markers.

To make your custom base map, sign up for MapBox and create a map.

Screenshot

About Map Site Templates

Map Site templates from MapBox are a way to jumpstart building a map-based web feature. The map-site templates bundles common html and css formatting with reusable javascript components.

To build a project based on this template, fork this repository, edit the html content and css, and alter the JavaScript.

Using this template

Edit the content by adjusting, removing, or adding to index.html. This is the main markup document with the content and layout for the map-site.

Adjust the design by editing the style.css file and adding any additional supporting structure to index.html.

Set your map id, and any additional features, inside the initialize and renderMap() functions.

// Insert your Map ID here
var mapId = 'examples.map-i86l3621';

CSS styles

Most of the hard work on a microsite build is template design implemented through CSS. This template by default is simple and clean, and it's based on the tiles.mapbox.com full map view. This design and be completely overridden by applying new CSS styles. style.css contains all the layout and typographic styles as well as some overridden styles for map controls, as well as a reset stylesheet. Implement your design by editing this file.

Javascript

The map is configured in js/locator.js and takes advantage of many MapBox Javascript API features - so the documentation for the MapBox Javascript API applies to every part of this site.

In addition to Mapbox JS, Locator utilizes both Backbone.js and jQuery.

The latest embed code is hosted by Mapbox, but the unminified version is included here in embed.unmin.js for any additional features you may want.

Running Locator

To run locally, run:

python -mSimpleHTTPServer

and go to http://localhost:8000

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].