One of the latest and coolest addition to CN1 is maps.
The MapComponent is using OpenStreetMap provider to show the map.
The code was contributed by Roman Kamyk and was originally used for a lwuit app.
Below is the code of the screen above:
The example below shows how to integrate the new MapComponent with Google Location API.
make sure to obtain your secret api key from Google Location data API.
https://developers.google.com/maps/documentation/places/
The MapComponent is using OpenStreetMap provider to show the map.
The code was contributed by Roman Kamyk and was originally used for a lwuit app.
Below is the code of the screen above:
The example below shows how to integrate the new MapComponent with Google Location API.
make sure to obtain your secret api key from Google Location data API.
https://developers.google.com/maps/documentation/places/


0 comments:
Post a Comment