maps

Android: Crash start application using api google maps

老子叫甜甜 提交于 2019-12-12 00:33:01
问题 I'm following this https://developers.google.com/maps/documentation/android/start#installing_the_google_maps_android_v2_api to learn to use Google Map API. This is my manifest: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.dude.uniplaces" android:versionCode="1" android:versionName="1.0" > <uses-feature android:glEsVersion="0x00020000" android:required="true"/> <uses-sdk android:minSdkVersion="8" android

Trying to save coordinates from maps

社会主义新天地 提交于 2019-12-12 00:17:16
问题 Im retreiving coordinates via HTML5. But when I try to save the coordinates with an AJAX post nothing is inserted. savespot.php does work, so maybe its problem with the ajax post? Or is ajax post run before coordinates is retrieved? <!DOCTYPE html> <html> <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <body> <p id="demo">Click the button to get your position:</p> <button onclick="getLocation()">Get your location</button> <div id="mapholder"></div> <script src="http://maps

Using a functor in find_if [closed]

那年仲夏 提交于 2019-12-11 22:59:25
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I was wondering how would I use a template functor as an argument for find_if. I'm not sure about the syntax. For example, suppose a functor that deletes a product from a multimap of products. To do that, I have to "scan" the multimap, find the product (using my equal functor) and delete it. Here's my 'equal'

Win 8 App: Bing Maps Binding Location

六月ゝ 毕业季﹏ 提交于 2019-12-11 22:19:38
问题 I want to bind the Longitude and Latidute value from a Bing Map. But that doesn't work. if I code the values in the xaml it works fine. But with the binding the Map does not center. Here is my example: <Maps:Map ZoomLevel="7" x:Name="myMap" Credentials="my_Code"> <Maps:Map.Center> <Maps:Location Latitude="{Binding Maps.Latitude}" Longitude="{Binding Maps.Longitude}" /> </Maps:Map.Center> <Maps:Map.Children> <Maps:Pushpin> <Maps:MapLayer.Position> <Maps:Location Latitude="{Binding Maps

google maps integration and SlidingMenu

江枫思渺然 提交于 2019-12-11 19:39:32
问题 I want to implement Google maps v2 and SliderMenu of jfeinstein10, I managed to implement the SliderMenu but when I want to add the map in the activity, I get error GoogleMap map = ((SupportMapFragment) getSupportFragmentManager (). FindFragmentById (R.id.fragMapa)). GetMap (); being more specific in getSupportFragmentManager () any solution for that integrate both. I put the code of the activity. import android.app.FragmentTransaction; import android.os.Bundle; import android.support.v4.app

Android Maps V2 Application Crashes on Phone

落花浮王杯 提交于 2019-12-11 18:52:36
问题 I've used my app on my phone(Samsung Galaxy S3, 4.1.2) as people adviced me to when it comes to android map v2 apps but I still get the same error where it says that my app has unfortuntely stopped. MainActivity.java package com.example.name; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import com.google.android.gms.maps.SupportMapFragment; public class MainActivity extends FragmentActivity { @Override protected void onCreate(Bundle savedInstanceState) { super

Adequate Places API for travel app

好久不见. 提交于 2019-12-11 18:43:27
问题 I'm looking for a place API that can be used with a map API. Here are three APIs I've been thinking about: - Google Maps/Places: https://developers.google.com/maps/ - Microsoft Bing: https://www.microsoft.com/maps/developers/mapapps.aspx - Nokia Maps: http://api.maps.nokia.com/2.1.0/devguide/overview.html They seem to be likely to give good results. The application I'm going to work on is on travel information. So we would like to use the best API for finding sightseeing, accommodations,

Problems with KML layers

时间秒杀一切 提交于 2019-12-11 18:15:13
问题 My map has 9 layers which can be toggled on and off by means of a tick box. Each layer is loaded in by JS. My problem is that only 5 of the nine load when their tick box is active. Is there a limit on how many kml layers can be loaded in to v3 api? In total there is less than 1mb, though they do have quite a few custom marker icons. Thanks Darren 回答1: I am having a eerily familiar-sounding issue. I am working with KML files in similar fashion (an array of map layers as KML files are picked

Nokia HERE Maps javascript API: Is there any property to fix the position of an infoBubble?

拟墨画扇 提交于 2019-12-11 18:09:38
问题 Currently we are using HERE Javascript Api 2.5.3 (https://js.api.here.com/se/2.5.3/jsl.js?with=all) and created a InfoBubbleMarker - within custom html content - based on the description in nokias developers ApiExplorer (http://developer.here.com/apiexplorer/examples/api-for-js/information-bubbles/extend-marker-to-infobubblemarker.html) While the infoBubbles automated position switch - depending on the fact, where is place to display it - is often kind of nice, we want to disable it. So: Is

Inserting into a map

送分小仙女□ 提交于 2019-12-11 18:09:20
问题 I know how to insert into a map, but I am having trouble doing it for this specific problem. I feel like I am doing this right but it just doesn't print anything out when I go to print the Names. New_User(string username, string realname, int starting_points) : This creates a new user with the given information, and puts it into Names. The user will start with no registered phone numbers. You should return zero if all is ok. You should return -1 from the following errors without creating