Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2394] Google Maps API V2 and AnyDensity=true

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-12-14T14:22:50.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterLuciano Damiani
AssigneeIngo Muschenetz
Created2014-01-09T16:06:08.000+0000
Updated2016-03-08T07:41:25.000+0000

Description

Steps to Reproduce

Create a project that use Google Maps API V2 and set tag 'supports-screens android:anyDensity=true' SDK 3.2.0 Mac OSX 10.9.1

Actual Result

The maps is not opening.

Expected Result

The map should open.

Attachments

FileDateSize
screen.png2014-05-08T18:39:22.000+000056696

Comments

  1. Ritu Agrawal 2014-01-10

    Titanium SDK 3.2.0 release notes indicates that you need to use ti.map add-on module: "For new Android applications or to use Google Maps v2, use the ti.map add-on module." http://docs.appcelerator.com/titanium/release-notes/?version=3.2.0.GA Can you please confirm that you are using this map module? It would be helpful to get a test case that demonstrates this problem. We have not been to reproduce this issue on our end.
  2. Samuel Dowse 2014-05-08

    Tested on: Mac OSX 10.9.2 Appcelerator Studio, build: 3.2.3.201404181520 Titanium SDK, build: 3.2.3.GA Titanium CLI, build: 3.2.3 Alloy: 1.3.1 Setting AnyDensity to true in the tiapp.xml causes map view to open a blank screen. Removing the AnyDensity tag resolves the issue as the map displays correctly. Attached screenshot of the issue.
  3. Ritu Agrawal 2014-05-09

    Resolving this ticket as a duplicate of TIMOB-16291.
  4. Eric Merriman 2014-05-12

    After speaking to Sam and Ritu, we will reopen this and remove the duplicate status on the link. It seems related.
  5. Jebun Naher 2015-12-09

    Hello, We tested this issue but couldn't reproduce this as a bug. Map works as expected even after setting AnyDensity to true. Tested both on alloy and classic. *Testing Environment:* Titanium SDK version 5.1.1.GA Appcelerator Studio, build: 4.4.0.201511241829 Mac OS X Version = 10.11.1 Architecture = 64bit Node.js Version = 0.12.7 npm Version = 2.11.3 Appcelerator CLI Installer = 4.2.2 Core Package = 5.1.0 Titanium CLI Version = 5.0.5 node-appc Version = 0.2.31 Samsung Tab: Android (4.4.2) *Steps to test:* 1. Install the Google Play services SDK. 2. Get a Google Maps API key 3. Create your project on Studio. 4. Add "" in the manifest section of tiapp.xml file 4. Connect an Android device 5. Build and run your app. Thanks.

JSON Source