firemonkey tmapview custom tile server - delphi

I have my own tile server and like to use tmapview component
Is it possible to use tmapview with my own tile server ??
like tileoverlay
thanks

TMapView is specifically for maps via the Google Maps API, which means it is tied specifically to Google. From the TMapView documentation (emphasis added):
To run an application on Android with TMapView, you need to acquire an API-Key for Google Maps API.
So no, you cannot use it with your own server.

Related

does google provide a wsdl or wadl

Currently was playing around with a robotic process application called Blue Prism and learned you can drop a URL link to a WSDL location to consume api calls. I tested using a free service and it worked great.
My question is in regards to Google Sheets API, a project has come up where this would be very usefull however I'm not able to locate or if one even exists (A WSDL or WADL) for the google sheets api.
If anyone could give me any direction on this that would be fantastic.
Google docs can be automated using REST web services. You can find more information about google docs api at google sheets API page.
BluePrism has an out-of-box tools to work with SOAP request with WSDL, but unfortunately it does not have out-of-box support for REST web services.
If you'd like to use API to interact with google docs, then you can do that, but you'll have to create your own code stages to do that.

Using google map API to open *.map or other map file ( offline map )

Is it possible to open map file at local computer (offline) using google map API? If yes, How?
I have programed an application in delphi. It shows the company cars on the map. but now we need the map to be offline. I have *.map file and may be I can find other map file from internet. I have not a point where to start at all. What do I have to do? tnx.
The google maps works by transferring data asynchronously from Google's servers to a user's computer. So if you are offline there's no way to communicate with Google's servers and retrieve such info. Even if you accomplish store the cached google maps and display offline you must follow the Google Maps API Terms of Service.
(b) No Pre-Fetching, Caching, or Storage of Content. You must not
pre-fetch, cache, or store any Content, except that you may store: (i)
limited amounts of Content for the purpose of improving the
performance of your Maps API Implementation if you do so temporarily,
securely, and in a manner that does not permit use of the Content
outside of the Service; and (ii) any content identifier or key that
the Maps APIs Documentation specifically permits you to store. For
example, you must not use the Content to create an independent
database of "places" or other local listings information.
As alternative you can use the Google Static Maps API V2 service you can retrieve a image, which can be saved to a file, basically you need build a URI like so
http://maps.google.com/maps/api/staticmap?center=40.714728,-73.998672&zoom=12&size=400x400&sensor=false
And the using a GET you save the response in a file, check this article for a delphi sample Using Google maps (Static Maps) without TWebBrowser
Google maps API interact with google servers, online. There is no way to use maps API's. If its a web interface you can try looking at HTML5 projects which have ported maps offline with co-ordinate resolution.
Here is your FAQ related to storing google maps data offline
What I suggested about HTML5 projects, you can take a look at this.
This combined with offline html5 offline data caching should be a good solution for your problem.

Is there a Google Maps API for iOS which offers traffic information?

I would like to know if someone has got documentation about the Google Maps API, I'm only looking for the traffic live information I would like to implement it on my iOS application.
Does such an API exist?
I don't think Google offers a standlone traffic API as of now. However there are a couple options.
Render the Google Maps element in a WebView and use the Google JavaScript API to enable the traffic layer. The downside of this approach is that the UX likely wont be as nice as native programming. The upside is less coding.
http://code.google.com/apis/maps/documentation/javascript/
http://code.google.com/apis/maps/documentation/javascript/reference.html#TrafficLayer
Call another traffic provider's REST API and overlay on top of the native iOS map component. This overlay is pretty straightforward through code if you get a KML response. The two I know of are MapQuest (yes, they are still around!) and Yahoo (though their API is in transition now).
http://www.mapquestapi.com/traffic/
http://developer.yahoo.com/traffic/rest/V1/index.html

Blackberry Traffic Application development

I want to create an application in blackberry that shows Traffic data or live traffic on map from a location......
i searched a lot but did not find any help regarding to this developement..... :(
can anybody help me or guide me to go forward......
Thanx in advance!!!
To begin with you need to break your question down into parts. Then ask for help on each of those parts/tasks. So let me take a quick stab at break this down...
You'll need to get the current geo location.
(java)
http://www.riccomini.name/Topics/Mobile/BlackBerry/BlackBerryStormGPS/
(WebWorks)
http://docs.blackberry.com/en/developers/deliverables/11849/blackberry_location_568404_11.jsp
You'll need some kinda of mapping API to get/create maps:
(Java app)
Either Google Maps :
http://www.blackberryforums.com/developer-forum/143263-heres-how-start-google-maps-landmark.html
OR RIM's Map API (
http://www.blackberry.com/developers/docs/6.0.0api/net/rim/device/api/lbs/maps/package-summary.html
:
http://docs.blackberry.com/en/developers/deliverables/17954/Creating_a_static_image_of_a_map_1205333_11.jsp
)
(WebWorks) -- Just Google for "JavaScript and Google Map API" -- Also, there are a couple of good books out there.
You'll need to be able to overlay/pull the traffic information ( If your using the Google Map API, then you could use a Google map overlay for traffic: http://code.google.com/apis/maps/documentation/javascript/v2/services.html#Traffic_Overlays )
After looking at this I would suggest you build this using the WebWorks SDK (aka blackberry widget app). I think it would be the simplest solution to integrating with Google's MAP APIs. And using WebWorks SDK would also allow your app to run on the Playbook.

Use Google Gears geolocation from a python app

I'd like to use the Google geolocation API in my app, written in Python. My problem is that Google provides a JSON interface (easily useable from Python) but from http://code.google.com/p/gears/wiki/GeolocationAPI I see that the API "is published to allow developers to provide their own network location server for use through the Gears API. Google's network location server is only to be used through the Gears API. See section 5.3 of the Gears Terms of Service at [address]."
It is a very strange thing: there is a very cool JSON but I cannot use it. I have to use it through Google Gears instead. But how can I do it from a Python app?
For example, I see that the geolocation service provided by Firefox calls directly the JSON API. Why is FF able to do that?
Thanks,
Alessio Palmero Aprosio
Google has deprecated Gears entirely, as the geolocation feature is now standard in modern browsers (for certain values of "standard").
The pylocation module may provide the information you need. It can output the geolocation data in text, json, or xml.

Resources