Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var helloPopup = L.popup().setContent("<img src='images/cog.png'style=width:150px;height:150px;</img><br>"+
- "<b>Portland Cycle Safety Map</b>"+
- "<br />This map is intended to bring dangerous intersections"+
- "<br />and street segments to the attention of Portland area cyclists: this is a work in progress."+
- "<br />Each skull marks the location a cyclist has been killed by an automobile sometime between 2005 and 2017."+
- "<br />'<a href="https://metadatapdxcyclesafety.neocities.org/" target="_blank">metadata</a>"'+
- );
- "<br />'<a href="https://metadatapdxcyclesafety.neocities.org/" target="_blank">metadata</a>"'+
- "<br/><a href="http.//example.com">link</a>"
- "<br/><a href='http.//example.com'>link</a>"
- '<br/><a href="http.//example.com">link</a>'
- var content = "<img src='images/cog.png' style='width:150px;height:150px;'></img><br>"+
- "<b>Portland Cycle Safety Map</b>"+
- "<br />This map is intended to bring dangerous intersections"+
- "<br />and street segments to the attention of Portland area cyclists: this is a work in progress."+
- "<br />Each skull marks the location a cyclist has been killed by an automobile sometime between 2005 and 2017."+
- "<br />'<a href='https://metadatapdxcyclesafety.neocities.org/' target='_blank'>metadata</a>'";
- var helloPopup = L.popup().setLatLng([51.5, -0.09]).setContent(content).openOn(map);
Add Comment
Please, Sign In to add comment