B4J Question [Geofence] Rectangle area,

Beja

Expert
Licensed User
Longtime User
Hi All,
Thanks to Erel for the circle example, now I am trying to draw a rectangle area (4 gMap markers or a box drown around the area)
The rectangle is defined by 4 lat/long coordinates.. The 4 corners of the rectangle are as follows:

39.904861, -74.33508
39.866925, -74.186765
39.592326, -74.357053
39.617719, -74.477903

A small project is appreciated (or code snippet) will donate $30
 
AIza.... well... are you sure created javascript map key?

Maps JavaScript API
Created in credentials.... without Oauth... to be easy for now...

credentials screenshot... how must will be:
1653899878485.png
 
Upvote 0
Yes unrestricted.. will try again
Enabled the correct Google-Api for the Key?
Note that you should not use a Key for the Android-Maps-SDK. For B4J GoogleMap you have to enable the Javascript SDK i guess (unsure)...
 
Upvote 0
Enabled the correct Google-Api for the Key?
Note that you should not use a Key for the Android-Maps-SDK. For B4J GoogleMap you have to enable the Javascript SDK i guess (unsure)...
Hi Don, I created the unrestricted Alza key but didn't know how to enable the JavaScript?
 
Upvote 0
Upvote 0
Thank you Don,
Thank you Magma,

It's now working like a charm.. All thumps up guys
 
Upvote 0
Back
Top