This release brings three major changes.
- First the GoogleMap Controls switches to GoogleMaps API version 3;
- Second the GoogleMap Controls targets .NET Framework 3.5 now. We have to move on :).
- Third the GoogleMap Control implements IScriptControl, which will make it working smooth and natural under MS AJAX and MS AJAX UpdatePanel. The control switches-on to IScriptControl implementation automatically when it finds the MS AJAX is presented on the page (by MS AJAX ScriptManager control) or by setting the new property RenderMode to Ajax, instead the default RenderMode - Web, in cases when MS AJAX library was added as script link to the page.
The release brings an improved events implementation, as well.
Features
- Map
- MapTypeControlOptions property - now map type control position, style and types can be managed;
- Directions
- AvoidHighways property - maps the GDirectionsOptions avoidHighways;
- GetPolyline property - maps the GDirectionsOptions getPolyline;
- GetSteps property - maps the GDirectionsOptions getSteps;
- TravelMode - maps the GDirectionsOptions travelMode;
- Bounds, Distance and Duration are persisted (the values are available after post-back);
- AddOverlay, Error and Load client and server side events were added;
- Polygons
- EnableDrawing property - allows a user to construct a GPolygon object by clicking on additional points on the map;
- EnableEditing property - allows modification of an existing GPolygon boundary.;
- EditingFromStart property - maps the GPolyEditingOptions fromStart;
- EditingMaxVertices property - aps the GPolyEditingOptions maxVertices;
- Bounds properly - returns the bounds for the polygon (the value is available after post-back);
- Polylines
- EnableDrawing property - allows a user to construct (or modify) a GPolyline object by clicking on additional points on the map;
- EnableEditing property - allows modification of an existing GPolyline chain of points. When enabled, users may select and drag existing vertices;
- EditingFromStart property - maps the GPolyEditingOptions fromStart property;
- EditingMaxVertices property - aps the GPolyEditingOptions maxVertices property;
- Length property - returns the length (in meters) of the polyline along the surface of a spherical Earth (the value is available after post-back);
- Bounds properly - returns the bounds for this polyline (the value is available after post-back);
Obsolete
- GoogleMap
- EnableContinuousZoom property;
- EnableGoogleBar property;
- EnableInfoWindow property;
- EnablePinchToZoom property;
- EnableMarkerManager property - the marker manager is moved to extensions project and will be implemented as ExtenderControl for GoogleMap control;
Changes
- GoogleMap Control Extensions namespace changed from Artem.Web.UI.Controls to Artem.Google.UI
- Artem.GoogleMap.Extensions project name and assembly changed to Artem.Google.Extensions
- GoogleMap Control namespace changed from Artem.Web.UI.Controls to Artem.Google.UI
- This require you change the controls references and section in Web.config
from:
<add tagPrefix="artem" namespace="Artem.Google.UI.Controls" assembly="Artem.GoogleMap"/> to:
<add tagPrefix="artem" namespace="Artem.Google.UI" assembly="Artem.Google"/>
- Artem.GoogleMap project name and assembly changed to Artem.Google
- Solution name changed to ArtemGoogle