B4J Question B4J Library jGoogleMaps library - Issues with lat lon

RickV

Member
Licensed User
I am using this library and downloaded the sample,. works great however I nmeed to plug into the location variables x and y.
It appears to be min.sec
How do I convert the deg.mins.sec to m.s ?

I pull the colon out and remove the comma for example but places the marker / actual location approx 15km away.
The device gps hands to android device app
Lat = -33:13.19136 Lon = 150:35.35815

I send this to the server side and need to display on pc in b4j app. GoogleMaps libray wants different format. How is this acheived please ?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

RickV

Member
Licensed User
GPS Library:

Don´t know if the gps-library can be used in B4J though...
it had a b4j sample project ....
 
Upvote 0

RickV

Member
Licensed User
One more question........

Where do I get the api key for for the folliwing line of code in the sample

gmap.Initialize2("gmap", options) 'You should call Initialize2 and set the API key!

I have had a look around the google play console and cannot fnd this.
 
Upvote 0

RickV

Member
Licensed User
I have the key now and happy with the functionality. I do have one more question.

Is there a way to make it dark mode ? (the map)
 
Upvote 0
Top