Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7123] MobileWeb: Ti.Map.View implementation

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-03-21T12:10:42.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 2.0.0, Sprint 2012-06
ComponentsMobileWeb
Labelspointerevents
ReporterChris Barber
AssigneeChris Barber
Created2012-01-12T00:03:09.000+0000
Updated2017-03-04T00:08:43.000+0000

Description

Needs entire implementation. Rename file from "MapView.js" to "View.js". Also rename module name from "Ti/Map/MapView" to "Ti/Map/View". Note: the 1.8 API has a conflict with both a method and property called "animate". Proposed renaming "animate" property to "animated". Extends View and PointerEvents. Methods: * addAnnotation() * addAnnotations() * addRoute() - iOS specific, but perhaps doable * deselectAnnotation() * removeAllAnnotations() * removeAnnotation() * removeAnnotations() * removeRoute() * selectAnnotation() * toImage() - can't directly be done, but might be able to leverage Google's static maps API * zoom() Properties: * animated * annotations - array of Ti.Map.Annotation objects * mapType * region * regionFit * userLocation Events: * complete - fired when the map completes loading * error - fired when the map receives a mapping error * loading - fired when the map begins loading * regionChanged - fired when the mapping region changes Implements all the events in PointerEvents, however this may conflict with the Google Maps functionality.

Attachments

FileDateSize
app.js2012-06-23T15:08:20.000+00001571
app.js2012-06-23T15:08:20.000+0000372
app.js2012-06-23T15:08:20.000+00008230
app.js2012-06-23T15:08:20.000+00003011
geo.js2012-06-23T15:08:20.000+00001776
route.csv2012-06-23T15:39:15.000+00007360

Comments

  1. Lee Morris 2017-03-04

    Closing ticket due to MobileWeb no longer being supported.

JSON Source