Community Questions & Answers

android maps v2 is blurred

Hi, here is my code. it seems ok but the map is blurred ? have i missed anything ? ~~~~~ function displayMapForAndroid(locations){ var currentLatitude, currentLongitude; Ti.Geolocation.getCurrentPosition( function...

Alloy view xml attribute : ns

I have read "ns" in the example of Alloy mapping. What does it mean? here is the code. ("ns" is in line 2.) ~~~ <Alloy> <View ns="Ti.Map" id="map" mapType="Ti.Map.STANDARD_TYPE"> ...

Google Map v2 3.1.0GA it.map

I’ve successfully installed the it.map module and IDE can find it correctly. But the module won’t work. Both Web Browser and Android Device crashed. Web Browser: Uncaught TypeError: Cannot read property 'NORMAL_TYPE' of undefined at /app.js (line...

Wrap annotation title text?

Im not finding a way to wrap the title text of an annotation ...is it even possible?..I even tried to split the title and use a \n , \r or \r\n characters and mash the strings together but its not working. Has anyone found a solution when your title is...

Map with Pins using ImageViews

Hi, I am currently trying to create a map with over-layed pins using Titanium. Similar to how Google Maps looks. Below is a simplified view of my Alloy page layout: ~~~ <Alloy> <Window id="Map"...

Google Maps V2 in Android: Empty Map View

SDK 3.1.0.GA, T-Mobile G2 device I created debug and release API Keys using the Google Console, installed the maps module successfully, added the API Keys to tiapp.xml, and now when I create a map view it is empty. The only things visible are the zoom...

Map setCenter() does nothing

~~~ $.companyMap.setCenter({x: jobLat, y: jobLng}); ~~~ jobLat and jobLng contain values like 50.30 depending on where a location is. But the setCenter function doesn't change the center of the map. I'm using the latest SDK and Titanium alloy

Titanium.map Issue

The Titanium Maps module uses version 1 of Google Maps. Google is no longer providing api keys for version 1. The Maps module mentions needing to use a new plugin for Android, in order to use version2 of Google Maps, but makes no mention of what to do on...

MapView is no working in my APP

Hi All, I am developing an application in which i include Mapview in currentWindow.. first time it is working. but when i want to see ot again it throws an exception. java.lang.IllegalStateException: MapView already created. Android can support one...

user location near a annotation

Im building an app with titanium and i am creating multiple annotations on a google map. My question is if somehow i can check if user location is near an annotation and lets say fire an alert. Is this possible? In a similar project with javascript i was...

Map iOS ignoring longitudeDelta

When I create a mapview ~~~ var zoom = 0.05; Ti.API.info("------------- zoom:" + zoom); // zoom = 0.05 var map = Ti.Map.createView({ mapType : Titanium.Map.STANDARD_TYPE, region : { latitude : lat, longitude : lon, latitudeDelta : zoom,...

Does Titanium support drawing overlays on native map view?

In the Google maps javascript library you can draw overlays of arbitrary shapes on the map. See, for example, http://code.google.com/apis/maps/documentation/javascript/overlays.html#Polygons Google maps in the Android SDK has something similar with the...

Ti.Map Module doesnt run on 3.0.2

hello everyone, I was wondering what I need to do to make the Ti.Map module run on 3.0.2? every piece of literature I find says that 3.0.2 is the min SDK, however the manifest file in the map modules says minsdk 3.1.0. Look at the box on the right side of...

Clickable polygons on maps

Hi, in this [map project](https://github.com/AppWerft/Botanischer-Garten-Hamburg/blob/master/Resources/module/picker.window.js) I'am using `netfunctional.mapoverlay` for polygones on map. Here the screenshot: ![alt...

Map with Google Json

I hope this helps every one ~~~ var win = Ti.UI.createWindow({ title: 'Map Google' }); var address = Ti.UI.createTextField({ hintText: 'Your Address', top: 60, width: 400, left: 10 }); var ok = Ti.UI.createButton({ title: 'Show Map', top:...

Google Maps v2

Hi, i have read in : http://docs.appcelerator.com/titanium/latest/#!/guide/Google_Maps_v2_for_Android that ti.map module version 2 is available for titanium sdk 3.1 but when i try to added it in tiapp.xml i dont find it... should i configure something...

evalJs and HTML

Hi, Here is my Html code, i can open a map but i can't see a marker in my current location, when i fix a value for x and y everything is working fine but if it's not i see only a map without seeing the marker as i said before. ~~~ var map; var...

Html and map Problem

I created a web page called index.html and load this web page in my js file like this: ~~~ var webview = Titanium.UI.createWebView ({ top : 0, width : 320, height : 400, url:'index.html' }); ~~~ also in js file i created a map called mapview i...

Map view crashes on first launch

Hi I am currently using Titanium SDK 3.0.0. In my app i am opening a window and adding two views to it : a list view and a map view. The map view is set using the previously acquired current lat, lon. When i install the app for the first time (tested on...

Showing 1-50 of 487 1 2 3 4 5 610