I am building a travel app that shows around 200 annotations on a specific mapView.
I have finished the iOS version and have now started creating the android version.
I previously used the MapBox example - Cluster point data. With a GeoJSON file
https://www.mapbox.com/ios-sdk/examples/clustering/
Does anyone know if there is an android cluster point example that uses GeoJSON file? Or if this is possible.
check out this GeoJSON clustering example in the Mapbox Android demo app. The code is based on the upcoming 6.0.0 version of the Mapbox Maps SDK for Android. The demo app's master branch is using the 6.0.0-beta.7 version of the Mapbox Maps SDK for Android.
If you're using a pre-6.0.0 version, then check out the old/"red" code that's using Filters instead of Expressions here
Related
Does anyone have or know of any guides/tutorials/information on how to build an offline mapping Android application using nutiteq?
It depends what data you want to map. Assuming you use latest Nutiteq Maps SDK 3.x:
For offline base maps part see Nutiteq developer portal offline packages
For offline map overlays there are several options, and you can choose for example between following Data Sources:
For custom app logic use LocalVectorDataSource - add objects with your app
For Shapefiles and other GIS file/DB formats try OGRVectorDataSource
You can implement custom Data Source for more advanced cases
Nutiteq helps you to create own in-house server connection setup
First of all, I would like to ask, CAN YOU integrate Bing Maps within an Android app?
Secondly, if possible, what are the advantages Bing has over Google Maps API and vice versa?
Updates
This Android SDK v1.5is now deprecated
see this link for proper use of BingMap using AJAX controller
Open Source Bing Maps SDK of course it's not official so there is a con right off the top, looks a bit dated but then again the google map api for android in my opinion is a bit dated, but you can work around most limitations.
Seems like both of them want to keep the really "good stuff" to themselves, built in competitive advantage for them.
As far as pro's and con's it depends on what you are trying to do. I don't think there is any perfect solution out there, Decarta which is a bit more free in it's usage restrictions than Google or Bing Decarta Dev Zone and they have a broader range of use API's in my opinion, for instance I like their POI Api vs. using places or yelp etc.
I'm currently working on migrate the legacy Android SDK v1.5 to modern Android platforms, also I'm trying to port the capabilities of Android SDK 1.5 to Bing Maps SDK v8 (v1.5 uses Bing Maps SDK V7).
Please see my Github repository, the master branch is only used for compacibility of Android SDK v1.5, if you want use Bing Maps v8, check out the V8WebControl branch
https://github.com/pengan1987/BingMapsAndroidSDK
Also you can see the video shows how the SDK v8 working
https://www.youtube.com/watch?v=wfMLfyjMTuw
In addition to the Open Source Bing Maps SDK you can use the Bing Maps V7 AJAX control in Android apps. This is the recommended approach as the open source app is old and designed for older versions of Android. Also it is basically just a wrapper of the AJAX control anyways. If you are using PhoneGap then take a look at these blog posts:
http://www.bing.com/blogs/site_blogs/b/maps/archive/2013/06/28/cross-platform-development-with-bing-maps-and-phonegap.aspx
http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/797/Getting-the-shortest-route-directions-to-items-using-the-Directions-Module.aspx
http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/795/Showing-GPS-position-on-Bing-Maps-with-PhoneGap-Apache-Cordova.aspx
http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/794/Bing-Maps-on-IPhone-with-Phone-Gap-Apache-Cordova.aspx
I have to develop an Android app using the Here/Nokia maps here.com,
In Googlemap/Geocoder class from Android native ressources, I load a map, put how many markers I want, I can draw routes, iterate with the map, and so on.
Now my question is, Is this possible in Nokia maps?
Thanks.
there are two 'android' offering for HERE amps which are available. The one used with Amazon: https://developer.amazon.com/sdk/maps.html
And the one used with Nokia X platform: http://developer.nokia.com/resources/library/nokia-x/here-maps.html
in general all of the functionality you are asking is available with both offerings. However you can not use the HERE maps in other than the specified environments, i.e. apps made for Nokia X using HERE maps, can not use the Maps parts in other platforms.
You cannot create a Native Android app, since the Android SDK is not yet available. From the website:
HERE SDK for Android
The HERE SDK for Android is an offer for OEM customers only.
Developers can access the HERE platform functionalities through OEMs
when they become available.
You can, however, create a web-based app using the javaScript API.
Yes. There is an HERE maps SDK available for both android and ios , download it from https://developer.here.com .
First of all, I would like to ask, CAN YOU integrate Bing Maps within an Android app?
Secondly, if possible, what are the advantages Bing has over Google Maps API and vice versa?
Updates
This Android SDK v1.5is now deprecated
see this link for proper use of BingMap using AJAX controller
Open Source Bing Maps SDK of course it's not official so there is a con right off the top, looks a bit dated but then again the google map api for android in my opinion is a bit dated, but you can work around most limitations.
Seems like both of them want to keep the really "good stuff" to themselves, built in competitive advantage for them.
As far as pro's and con's it depends on what you are trying to do. I don't think there is any perfect solution out there, Decarta which is a bit more free in it's usage restrictions than Google or Bing Decarta Dev Zone and they have a broader range of use API's in my opinion, for instance I like their POI Api vs. using places or yelp etc.
I'm currently working on migrate the legacy Android SDK v1.5 to modern Android platforms, also I'm trying to port the capabilities of Android SDK 1.5 to Bing Maps SDK v8 (v1.5 uses Bing Maps SDK V7).
Please see my Github repository, the master branch is only used for compacibility of Android SDK v1.5, if you want use Bing Maps v8, check out the V8WebControl branch
https://github.com/pengan1987/BingMapsAndroidSDK
Also you can see the video shows how the SDK v8 working
https://www.youtube.com/watch?v=wfMLfyjMTuw
In addition to the Open Source Bing Maps SDK you can use the Bing Maps V7 AJAX control in Android apps. This is the recommended approach as the open source app is old and designed for older versions of Android. Also it is basically just a wrapper of the AJAX control anyways. If you are using PhoneGap then take a look at these blog posts:
http://www.bing.com/blogs/site_blogs/b/maps/archive/2013/06/28/cross-platform-development-with-bing-maps-and-phonegap.aspx
http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/797/Getting-the-shortest-route-directions-to-items-using-the-Directions-Module.aspx
http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/795/Showing-GPS-position-on-Bing-Maps-with-PhoneGap-Apache-Cordova.aspx
http://www.soulsolutions.com.au/Blog/tabid/73/EntryId/794/Bing-Maps-on-IPhone-with-Phone-Gap-Apache-Cordova.aspx
We need a graphical component (view) for rendering maps from any WMS services for Android andn iOS. My researches only show that there is basically only the Google Maps API available as Android/iOS library (MapView).
Before programming a WMS view lib by ourselves, are there any (free or licensed) WMS view libraries for those OSses available, which can be used in own apps? We tried using OpenLayers in a WebView, which is not really satisfying from a performance point of view.
thanks for your help
I think this will fit your requirements:
https://confluence.prodevelop.es/display/GVMN/Home
From their homepage:
gvSIG Mini is a free viewer of free access maps based on tiles
(OpenStreetMap, YahooMaps, Microsoft Bing, ...), with a WMS, WMS-C
client, address and POI search, routes, hybrid location and many more
things. It runs with both on/off-line modes.
While it is packaged as an application rather than a library, the source is available (GPL) so you should be able to extract what you need:
https://confluence.prodevelop.es/display/GVMN/Android+Download
https://svn.prodevelop.es/public/gvsigmini/
I have tried using Osmdroid API for this, but still without success. This requires modifying several java classes as XYTileSource and BitmapTileSourceBase.
osmdroid - OpenStreetMap-Tools for Android
There are applications in the Android Market that can make this work perfectly as OruxMaps but not have an API for development. : (
Nutiteq SDK can do this. WMS sample works with EPSG:4326, but SDK supports also other projections and you can modify the map class to use those. Disclaimer: I'm the developer of it.
Update in 2016: updated links, removed obsolete 3 year old references
Look at OpenStreetMap. It provides maps for both iOS and Android
http://wiki.openstreetmap.org/wiki/Apple_iOS
http://wiki.openstreetmap.org/wiki/Android
Api - http://wiki.openstreetmap.org/wiki/API_v0.6
Hope, this helps you.
We are using the openlayers client. Yes I know it's a Web Client but you can use it in your WebView.
http://openlayers.org/
https://openlayersbook.github.io/ch10-openlayers-goes-mobile/example-01.html
I have a few apps with openlayers maps. Some of these uses online map servers and some uses tiles stored inside the app (offline maps).
For interactions with webView, we use JavaScriptInjections