Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24803] Ability to add a label to Polygons on Ti.Map

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionNot Our Bug
Resolution Date2017-07-05T20:20:21.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterVictor Vazquez Montero
AssigneeEric Merriman
Created2017-06-09T19:16:48.000+0000
Updated2017-07-05T20:20:21.000+0000

Description

H6. Description When creating polygons on Ti.Map there is no property to put a title in to display in the polygon. Preferably the title should be put on the centroid of the polygon. Another solution would be to have the ability to attach a label to polygon to allow full customization to label as a title.

Side note

Offered customer the workaround to use webmaps and add web API to add infoWindow but they cannot use webmaps because their app is offline 90% of the time with limited data connection.

Comments

  1. Hans Knöchel 2017-06-09

    Technically not possible (not exposed by the native API's). An alternative is to create an annotation with this properties: * no callout / info-window * no pin, but custom-view (view with the label inside) * not clickable That's possible with the current API, please check the docs for possible Annotation properties.

JSON Source