Community Questions & Answers

Traffic in Apple Maps

Is there a way to display the current traffic view on Apple Maps? The following works fine on Android, but not on iOS. ~~~ var map = Map.createView({ mapType: Map.NORMAL_TYPE, traffic: true }); ~~~ Am I missing something or is traffic not available...

Geolocalization - Map - Route

I would like to create an application (ios - android) that can use the geolocation and find in a map by a search form a certain category of people. By tapping on a poi it will be pointed to the navigation route. An example of this app can be the nearest...

map errors

Hi All, Back again for more help. This time with getting the maps module installed and displaying for both Android and iOS. filesystem ~~~ - modules -- ti.ap -- bluetooth (this works) ~~~ index.xml ~~~ <Window id="buddymap"...

Android Map is Black

Using Mac OSX Mavericks, with Studio 3.2.1.201402041146. I'm trying to run my app on my Samsung Galaxy Tab but my map always shows up blank. I have used isGooglePlayServicesAvailable() and verified that Google Play Services is installed on my tablet. ...

iOS Back Button over Map

I am currently building an app that uses the ti.map module. When I get to the map, however, I can't figure out how to display the top bar with a back button. Currently, it means that iOS devices cannot go back to the previous view once they are in the map....

Map tiles missing in Samsung phones

I have an Alloy app that displays a map with annotations, using the method outlined here: http://docs.appcelerator.com/titanium/3.0/#!/guide/Google_Maps_v2_for_Android This works well in most tested Android devices. However, in Samsung phones, with...

Map region size need to reduce zoom

OSX 10.9.5, IOS 8.1.2, or Simulator, Ti 3.5.0 GA, this is iOS only application ~~~ function findZoomRegion(points) { var nbPtToShow = points.length - 1; var tmpDeltatLat = 0, tmpDeltatLong = 0, maxDeltatLat = 0, maxDeltatLong = 0, ...

Map Not working In Android

App crashes when i am trying to add map in android .using 3.5.0.GA. ~~~ var Map = require('ti.map'); var win = Ti.UI.createWindow(); var annotations = [ Map.createAnnotation({ latitude: 32.8245525, longitude: -117.0951632, ...

Map in Android

Hi, I am trying to get a google map but app show a message " Unfortunately,androidMap has stopped". it works in ios.for android i added api key done all process but i don't know why it crashes.. process for android : get sha1 key and get api key...

Google Maps API - iOS app bundle identifier

I am using the Google Maps API and it works fine using the key for iOS or browser application. I'd like to tie the API key to my bundle identifier which is the preferred method of use. If I add my bundle identifier of my app (in app store or simulator) i...

Map Route not working

Hi, i'm having some trouble with Maps Route y Maps V2 in Android. So the problem is when i put a route, like this: ~~~ var cord1= { latitude:29.078685, longitude:-110.971205, }; var cord2= { latitude:29.081496, ...

Open google map app externally

I have 2 coordinates and need to open google maps app externally (not at app) to show me navigation option between those 2 coordinates, anyone knows how to do it basically at android and if applicable in apple maps too would be great

custom design Map View

I need to use google maps in my app, i have tried following code to achieve my design but no luck. Here is my code, ~~~ var anno = Titanium.Map.createAnnotation({ title : "150$", subtitle : "Its sub title", ...

how to initiate navigation

I am building my first app (Android only) with titanium and what I am trying to do is start navigation on the phone. I want to place a button on details page and when a user click on Navigate, it should initiate navigation on the user's phone, whether it...

Extend existing titanium module

Hello everyone. I am in need of extending the existing ti.map module(from github). I am a newbie when it comes to objective c and building modules as well. But hey, as a easy start i have tried to build the module as it is, but it fails for me. Is there...

Add map url for web view

when i set web view url with map url it not work: var web = Ti.UI.createWebView({url:'https://www.google.com/maps/dir/30.7933951,31.0122212/24.8656663,46.6900963/@12.0709955,-6.1685376,3z'}); window.add(web);

Using Map

Is the device must have google play service installed to show the map .

Why are the pins disappering from my map?

Hi I have a map in a window, which loads annotations from a json. It works just fine, and displays the pins when I load the map first time. If I then click the top button "BACK" and then open the map window again - all my pins are gone are not...

Two Tab Map Application Crashes on Android

I have a three tab application with two tabs containing a google map. Clicking on the first tab loads the first map no problem. The second map crashes the app upon loading. Here is the system info and some code snippets: Using Ti SDK 3.4.1GA Crashes on...

iOS: Map click event issue on 3.4.1.GA

I found that click on a map anntation's title or subtitle will not fire a click event. Titanium SDK: 3.4.1.GA ti.map: 2.2.2 Platform: iOS8 ~~~ var win = Titanium.UI.createWindow({ backgroundColor: '#fff' }); var region = { latitude: 23.5, ...

Drag Annotation short click

Hello, I would like to add an annotation that it to be possible to move it with a short pressing, not long pressing as in the documentation. Someone already used that way? see the documentation: "When an annotation is draggable, it can be moved by...

MapView region size in meters

I have to show some annotations on the map loaded with a call to one of my APIs that returns all the elements nearby, to do this I need to know that distance set my filter. Can you suggest a good way to figure out which is the visible area on the map...

Using Google Maps API v2 for offline use.

Application type: mobile, Titanium SDK 3.4.0 GA, Host Operating System: OSX 10.10 Using the google maps api it is possible to implement offline map through the use of custom tile providers [1]. I am wondering if there is any sample code in titanium that...

Showing 1-50 of 725 1 2 3 4 5 615