
Untitled
By: a guest on
May 10th, 2012 | syntax:
None | size: 0.47 KB | hits: 14 | expires: Never
Does google maps javascript api-key (v3) need to be kept secret in HTML checked into github and if so, how?
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
#map_canvas { height: 100% }
</style>
<script type="text/javascript"
src="http://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&sensor=SET_TO_TRUE_OR_FALSE">
</script>