Core Mapstraction file has just been updated with the following:
Fixed Functions
===========Polyline.prototype.toGoogle() - ''this.'' was used
for local point arrays
Updated Functions
================LatLonPoint.prototype.distance(otherPoint) - does it differently
for google
Mapstraction.prototype.doFilter(showCallback, hideCallback) - adds callbacks
and visibility count
Utilities
====KMToMiles(km)
milesToKM(miles)
Polyline.prototype.simplify(tolerance)
Mapstraction.prototype.enableScrollWheelZoom()
Mapstraction.prototype.addPolygon(polygon)
Mapstraction.prototype.visibleCenterAndZoom() - works with all visible
objects
Mapstraction.prototype.polylineCenterAndZoom(radius)
Events
====Mapstraction.prototype.addMapListener(event, callback)
Mapstraction.prototype.removeMapListener(handler)
Marker.prototype.addListener(event, callback)
Marker.prototype.removeListener(handler)
Functions to assist with dragging markers
=============================Marker.prototype.update()
LatLonPoint.prototype.fromGoogle()
Radius searching
============Radius(center, quality) - precalculates an array to use to quickly
plot a
polygon
Radius.prototype.getPolyline(radius, colour)
LatLonPoint.prototype.latConv
LatLonPoint.prototype.lonConv
Mapstraction.prototype.getPixelRatio() - used to turn distance into pixels
based on current projection
Kind regards,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20081214/5549143a/attachment.htm>