Using Bing Maps REST Services on BlackBerry? - blackberry

Are there any third party libraries or SDK's - commercial or open source - that would provide a straightforward way to integrate Bing Maps in a BlackBerry application? Now that Bing Maps Mobile is free for use in consumer-facing apps, it's a really compelling choice.
Nutiteq provides the only option I've found so far (short of developing in house). Hoping there are others.
Thanks in advance.

Bing maps has a REST API. You can see this: http://msdn.microsoft.com/en-us/library/ff701722.aspx
However, I am not sure about any SDK for Blackberry. Check if any unofficial project has used this REST API to create a wrapper for Blackberry. Otherwise, you can always use the browser field to fetch the map tiles.

Related

Does MKMapView supports offline maps, or offline maps downloads?

Since there is a demand for map use in China and since China cannot use Google Map Services, I am wondering if MKMapKit supports offline maps?
MapKit does not allow you to do this. If you want this functionality, you should probably use a different mapping framework, like OpenStreetMap.
Not Support offline right now. better to try other map frameworks like
1.Bing Maps( Microsoft Bing suite)
2.WikiMapia Map etc

Integrate GoogleMaps with Mapbox iOS sdk

I'm using MapBox for a iPad app and we want to use various image sources for the map imagery.
Is there a way to get google map tiles and show them in MapBox?
We could construct the url's to get the tiles directly but google will block you if you do this, because we wouldn't be using the official API.
Is there any other option to solve this problem?
It is technically possible, but Google's terms of service don't allow display of their tiles outside of their own software frameworks.

Using here maps in blackberry

Can i use Here Maps
http://here.com/,
in blackberry RIM version 5.0 and above development?
Because i have an application which gets the user location and i need to put 2 pins on the map and get the distance between them , and the client wants Here maps.
I used bing map lately, but i need here map now.
Bing Maps SDK For Blackberry 6.0
Option 1) Use the Maps API for Java ME with the Blackberry JDK
There is no native Maps API marketed for Blackberry, however the Maps API for Asha is a general Java ME API, whose only dependencies are CLDC1.1 and MIDP2.0, so there is no reason why it shouldn't work with the Blackberry JDE. This article describes the similarities.
There are a series of code examples available which should work out of the box, except for one thing - you'll need to get hold of the jar files which usually reside in
C:/Nokia/Devices/Nokia_Asha_SDK_1_0/plugins/maps api/lib/
which can be obtained from the Nokia Asha SDK.
So all you'll need to do is download the SDK, extract the file maps-core.jar or any of the other packages you want and access them as external JAR dependencies in the usual manner. See the examples on github for an idea of the capabilities of the library.
Option 2) Use the Map Image API with the low level i/o
Now, if all you need is a single "quick and dirty map", you can make a series of http calls to m.nokia.me using javax.microedition.io to get a map on screen. This article explains why using a static map is probably a bad idea, but it would be a simple solution.
Option 3) Create a cross-platform HTML5 app using Cordova or Web Apps
This would be where the Maps API for JavaScript would be useful,
Basically if you would visit the developer.here.com native APIs section, you could see that there is no offering for Blackberry.
Anyway, thus, if you really want to use HERE maps with the platform, you should check out the Javascript API

How to use Bing Map API in iOS application to draw route between two location?

I want to use Bing Map API in my iOS application two show map view and to draw route between two location. I am not getting proper link and sample tutorial for Bing map API. Please help me out.
Thanks.
Bing Maps no longer offers an iOS map control, however most developers who use Bing Maps in an iOS application use the Bing Maps V7 JavaScript control. It works great in iOS. Simply embed it inside of a WebBrowser control inside of your app.

google maps non-web access

I need to be able to access the Google Maps API from a non-web application. I see in Google Maps' FAQs that this is possible. However, I cannot find any reference to accessing the API from a PC-based application. Can someone point me in the right direction?
(I want to access the API from a Delphi application, if that helps.)
Thanks in advance.
Some time ago I wrote a series of articles about using the Google maps API v3 from Delphi, basically you need a TWebBrowser component and load an HTML page with the JavaScript code to handle the Google Maps JavaScript API v3. from here using functions like IHTMLWindow2.execScript and the MSHTML Interfaces you can interact with the JavaScript code and the Google Maps API responses from Delphi.
Using the Google Maps API V3 from Delphi – Part I Basic functionality
Using the Google Maps API V3 from Delphi – Part II Styled Maps
Using the Google Maps API V3 from Delphi – Part III Getting the latitude and longitude of a mouse click
Using Google maps (Static Maps) without TWebBrowser
Also take a look to these projects
Delphimaps
GMLib – Google Maps Library
If you have serious plans in this direction:
Forget about the Google Maps API, and use OpenLayers instead.
Believe me, I've got hands-on experience with this. I've created countless interactive mapping websites and applications, and I've written code that wrap Google Maps functionality into Delphi components. You can find them on Google code: http://code.google.com/p/delphimaps/
You can also find some example application that I've made with an early version of these components here: Use Googlemap from my Delphi application?
OpenLayers is much more versatile, it's completely open source, and it has a whole community behind it. It can even use Google Maps, but you can easily switch to OpenStreetMaps, Yahoo, Bing, or your own GIS system.
There are many examples online, and you're not tied to stupid rules that are imposed by Google. For example, if you want to use Google Maps via a secure (HTTPS) connection, you have to pay. I never directly use the Google Maps API anymore, and my GIS websites became much better since I started using OpenLayers.
Maybe one day I should wrap OpenLayers into Delphi components, but I now do most stuff in JavaScript instead, and only communicate with my Delphi app when it's really needed, so even with Delphi apps that contain a map, not much GIS stuff is done in Delphi.
That turns out to be easier to maintain.
..
Also, OpenLayers doesn't require any internet connection. It can run 100% in your offline browser. Google Maps requires you to have an internet connection, as it downloads parts of its code dynamically, and it always wants to download its maps from Google.
If you are looking for a complete solution to use the Google Maps API with Delphi, I highly recommend the Delphi Framework for Google Maps. It enables to use all API functions without a single line of HTML or JavaScript.
For example:
procedure TForm1.FormShow(Sender: TObject);
begin
with Script(WebBrowser1) do
if not APILoaded
then LoadAPIAsync(InitMap);
end;
procedure TForm1.InitMap(Sender: TObject);
var
MapOptions: TMapOptions;
begin
with Sender as TScript do
begin
MapOptions:=New(Google.Maps.MapOptions);
with MapOptions do
begin
Zoom:=8;
Center:=New(Google.Maps.LatLng(-34.397,150.644));
MapTypeID:=Google.Maps.MapTypeID.Roadmap;
end;
New(Google.Maps.Map(MapOptions));
end;
end;
The route planner is also easily available. There are some demos.
Unfortunately, you must still download it currently from a German forum. A separate website is under construction. If there are problems with the registration or download, I can send an email with the framework.
Regards

Resources