bug-gfx-stretch
Graphics stretch instead of move on resize.
by ryanttb
HTML
<script src="http://code.jquerygeo.com/jquery.geo-1.0.0-b1.5.min.js"></script>
<div id="map"></div>
CSS
#map {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
JavaScript
// create a map
var map = $("#map").geomap( {
center: [ -71.0595678, 42.3604823 ],
zoom: 8
} );
map.geomap("append", {
type: "Polygon",
coordinates: [ [
[ -71.5, 42.8 ],
[ -70.5, 42.8 ],
[ -70.5, 42.0 ],
[ -71.5, 42.0 ],
[ -71.5, 42.8 ]
] ]
}, "o hai shapes");