Archive | July, 2013

ABQ Historic Places Map in Your Website

11 Jul
Map of ABQ historic Places from GitHub

Map of ABQ historic Places from GitHub

I converted the Albuquerque Historic Places KML from the City to GeoJSON. By posting the GeoJSON on Github it is automatically mapped and you can embed that map in your website. All you need to do is enter this line in your HTML:
<script src=”https://embed.github.com/view/geojson/PaulCrickard/ABQ-GeoJSON/master/ABQHistoricPlace.geojson”&gt;

</script>
This works with any map you find on GitHub. The URL is format is:
https://embed.github.com/view/geojson/

followed by:

<username>/<repo>/<ref>/<path_to_file>

So a sample website would look like this:

<html>
<head><title>My Map of ABQ Historic Places</title>
</head>
<body>
<h1>ABQ Historic Map</h1>

<script src=”https://embed.github.com/view/geojson/PaulCrickard/ABQ-GeoJSON/master/ABQHistoricPlace.geojson”></script&gt;
</body>

</html>