use map for J2me application - google-maps

i am developing a tracking system for mobile using j2me and i want a library free library to deal with maps where i can scroll the map, chose position and get longitude and latitude to my application.
static Google map is limited to 1000 request and no scrollable features for it.

Related

Google Map Js Api Premium plan limitations

I have Google premium account.
I am using google map javascript api for showing map on our website.
Feature of map like
Load the map
Place the markers programmatically with coordinates.coordinates already stored in database. i used those coordinates to place the markers.
so my question is that what is the limitations for above features for premium account? Is there any limit that how may times we can load the map and place the marker.
I have seen some requests limit for directions and other things. but i am not using direction feature.
Thanks!!!
When you use a Premium plan Google Maps JavaScript API map loads will be counted against the purchased map credits. Map load is incurred when you show a map in your application. Interactions like zoom, pan or create new marker are not counted.
There is no daily limit, you can use maps while your map credits are not exhausted.
Client side services (geocoding, directions, distance matrix) and places library will consume your map credits as well.
For more details I can suggest reading the documentation:
https://developers.google.com/maps/premium/usage-limits

What do the Mapping APIs providers mean by 'transaction' or 'request'?

I am developing a web app that is composed by :
a server-side : a Web API using ASP.NET 5
a client-side : a single page that contains a map in which are several pins (10.000 at least, gradually) that represent my client's POI
Here's my constraint :
The map will be integrated in the client's existing website, and since I will be using the Mapbox API (with the Leaflet library), I need to request the Mapbox server the least possible (free account/very limited usage).
I see that a lot of providers talk about requests and transactions, but I don't know what it really is.
Questions :
Can I load my map with 10.000 pins freely ? What is a transaction actually ?
When I load a map ? Is it a transaction ?
When I put 10 pins in the map, is it 1 transaction or 10 transactions ?
Mapbox's unit is a "Map View", which is defined as
A map view is four map tiles when using Mapbox Studio styles, or 15 smaller map tiles when using Mapbox Studio Classic or Mapbox Editor Classic. One Static API request also counts as one map view.
^ this is from the pricing page
Map tiles are the 'base' map - the styled streets, buildings, and other features that Mapbox provides as context for your data.
If you're adding markers or pins to your map on your side - adding them via Leaflet or some other method - those don't have any effect on transactions or pricing, since they don't need to be sent to Mapbox at all.
So for this use case: when you load a map, it's typically one map view, but if it's a very small map it could be less or if it's larger it could be more. Adding pins to the map doesn't affect transactions or cost.

Core Google Map API for J2ME

I am using http url to show map in J2ME application but it takes more time as it draws image on each refresh. since internet speed is bit slow in GPRS.
Is there any core Google Map API for J2ME??
Is com.jappit.midmaps.googlemaps.GoogleMaps is Authorized Google Map Library for J2ME Application??
Waiting for your reply.
Regards,
Parmanand
No, there is not a core Google Map API for J2ME. No, the Jappit library is not an official authorised product, though it was a good attempt a mapping library based on the technology available at the time.
The reason the update of the map is so slow in the Jappit library, is that the underlying static mapping service behind it is not well suited to refreshing and updating a dynamic map.
Every time the map is shifted or updated, an image the size of the screen is downloaded leading to a large amount of data traffic. A better solution can be found in using a map tile service, implement aggressive image caching and adding overlay objects on top of it. Basically doing everything to avoid downloading more images.
So in summary use a web service like the Static Maps API, if all you need is a single map image. Use a dedicated Java ME mapping library such as the HERE Maps API for Java ME if you want a responsive dynamic map.
As a notice of affiliation, I should mention that I do work for Nokia.

For Developing Location based reminder mobile app, which one is good..... Google Maps or Nokia maps

I am developing GPS based Location reminder in j2me. I am little bit confuse to which maps i use??.....Google maps & Nokia maps. Which one allows me good working... The working of my app are as follows :-
-User will provide a string to app to search a place of his/her desire.
-Then according to given string app will show a place on map by pointing marker on map.
-User can save that place or he/she can select a near by place rather than searched place by clicking on map or any other way.
-app will save that searched place coordinates & remind when it reached to near that place.
-When app remind to user about already stored place... that place should show on map by pointing an marker along with the how far he is from his destination.
The real choice here lies in whether to use a RESTful API like the Google Static Maps (or Nokia's RESTful Maps) or to use a native Java ME mapping library plugin such as the Nokia Maps API for Java ME. The latter has several major advantages:
Static mapping services such as the Google Static Maps API or Nokia's
RESTful Map API do not cache or tile the images when requested,
therefore each request involves a round trip to the server. If the
map on a mobile application needs to be refreshed at any time, using
a caching library will result in a reduction in network traffic after
around three maps have been displayed. An explanation of this can be
found here
As the name implies, Google's Static Maps API can only retrieve over
http static images for a requested coordinate point, image size,
image type and zoom level. Newer libraries offer additional
functionality out of the box offering dynamic Map content and touch
support, where the user can move around his/her current position,
zoom in, zoom out, modify the view mode to satellite or translate an
address to a coordinate point and show that on the map, among others.
This abstraction of the underlying functionality is hidden from the
developer so much less coding is needed in order to achieve the same
result .
Terms and Conditions for Nokia Maps are easier to fulfil than
Google - No legal restrictions of using the API outside a web browser
application or need to provide a link to the native Google Maps App
(if there is one), or to Google Maps (if there isn't one).
Nokia currently offer higher free daily request limits. Nokia Maps
API for Java ME supports up to 50,000 render requests per day and per
unique IP address (as of January 2012), for Nokia Developer
registered users (free of charge) while the limit for Google's Static
Maps API is currently 1000 unique (different) image requests per
viewer per day.
A couple of years ago there wouldn't be a choice, only RESTful solutions existed, but these days I would say a static http solution should only be used if you want a simple single image
As an abstraction of the underlying services, there are already a full set of examples to cover most of your use cases:
-User will provide a string to app to search a place of his/her desire.
-Then according to given string app will show a place on map by pointing marker on map.
http://www.developer.nokia.com/Commu...PI_for_Java_ME
-User can save that place or he/she can select a near by place rather than searched place by clicking on map or any other way.
Maybe you need to use a draggable marker:
http://www.developer.nokia.com/Devel...ples/#standard
Or react to the touch and find a Geocoordinate:
http://www.developer.nokia.com/Commu...PI_for_Java_ME
-app will save that searched place coordinates & remind when it reached to near that place.
This is known as geofencing and is covered by the Location API:
- http://www.developer.nokia.com/Resou...ty-events.html
-When app remind to user about already stored place... that place should show on map by pointing an marker along with the how far he is
from his destination.
Showing a Map with a Marker
http://www.developer.nokia.com/Devel...ples/#standard
For distance calculations, I guess you'd be after the ROUTING example
http://www.developer.nokia.com/Devel...mples/#routing
http://www.developer.nokia.com/Commu...g_with_Java_ME
Now you could re-write and all these services from scratch using RESTful APIs (and then go about debugging your code) , but I'm sure you'll agree it would be much easier to use an existing, working and tested framework for the low level plumbing and then just write your code on top using the services.
It is possible to encapsulate RESTful service in Java ME. As an example, added below is a screenshot from an app encapsulating the suggestion service
It is just a lot easier when someone else has already done this work for you and placed it in a library.

How to add Mapcluster in Google Map Api using iPhone webView?

i want to add map cluster in my UIWebView using google map api but i dont want that whole map cluster library along with my Xcode project so is there any alternative to map cluster available with small library.
Check this v3 implementation of google map cluster
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs/reference.html