Skip to content
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

52 lines (46 sloc) 1.29 KB
<!DOCTYPE html>
<meta charset="utf-8">
<title>Mapquest example</title>
#map {
width: 600px;
height: 600px;
<script src=""></script>
<link type="text/css" rel="stylesheet" href=""/>
var L;
window.onload = function() {
L.mapquest.key = 'YOUR-API-KEY-HERE';
// 'map' refers to a <div> element with the ID map
var map ='map', {
center: [53.480759, -2.242631],
// 1. change 'map' to 'hybrid', try other type of map
layers: L.mapquest.tileLayer('hybrid'),
zoom: 12
// 2. Add control
// 3. Add icon
L.marker([53.480759, -2.242631], {
icon: L.mapquest.icons.marker({
primaryColor: '#22407F',
secondaryColor: '#3B5998',
shadow: true,
size: 'md',
symbol: 'A'
.bindPopup('This is Manchester!')
<h1>Simple Mapquest example</h1>
<div id="map"></div>
You can’t perform that action at this time.