ZoomIn Mapping System v7
<centre>
<script type=”text/javascript”>
//<![CDATA[
window.onload = function(){
map = new GMap2($(“mapview”));
map.addMapType(new Zoomin.NZTM);
map.addControl(new GSmallMapControl());
map.setCenter(new GLatLng(5427050, 1748750), 6);
// Add a polyline with some random points.
var points = [];
for (var i = 0; i < 4; i++) {
var point = new GLatLng(
map.getBounds().getSouthWest().lat() + map.getBounds().toSpan().lat() * Math.random(),
map.getBounds().getSouthWest().lng() + map.getBounds().toSpan().lng() * Math.random());
points.push(point);
map.addOverlay(new GMarker(point));
}
map.addOverlay(new GPolyline(points, ”#FF00FF”,”5”,”0.6”));
}
//]]>
</script>
</centre>
Announcing the ZoomIn Mapping System v7
We have been working hard on the new version of the ZMS.
New features include:
- Polylines support
- Dynamic Changing of Layers
- Sliding Scale bar
- Prototype javascript library support
- Performance Tweaks
- Improved event handling
Have a look at developer.zoomin.co.nz for more information.
The new API will be available for Australia shortly.