B4J Question [ABMaterial] ABMGooglemap edit polygon

magi6162

Well-Known Member
Licensed User
Longtime User
there is an event like "clickPolygon" to select a polygon? Can the selected polygon change it (move nodes, etc ..)?

can ABMGooglemap be integrated with jGooglemap or vice versa?
 

Harris

Expert
Licensed User
Longtime User
there is an event like "clickPolygon" to select a polygon? Can the selected polygon change it (move nodes, etc ..)?

See:
https://www.b4x.com/android/forum/threads/abmaterial-googlemaps-geozones.69694/

In my example, you click the master grid record (polyname).
Then you click the detail item (a point that make up the polygon), then select another position on the map and click again to move the point to a new location. I have not the code to move the entire polygon itself.
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
My class module:
 

Attachments

  • zonePage.bas
    65 KB · Views: 164
Upvote 0

magi6162

Well-Known Member
Licensed User
Longtime User
how can I use the Google Maps API drawing features with ABMGooglemap? es: design polygons and edit
 
Upvote 0

magi6162

Well-Known Member
Licensed User
Longtime User
I did not say well. I've already done this using javascript and Googlemaps APIs. I asked if it was possible to integrate what's done in javascript with ABMGooglemap and B4J.
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
I don't think so. These framework(s) avoid javascript like the plague.
 
Upvote 0

magi6162

Well-Known Member
Licensed User
Longtime User
thanks...:)

B4X:
Dim b As ABMGooglemap
Dim jo As JavaObject = b
' jo is now effectively b
jo.RunMethod(method,params)

but,How do I know the methods and params?
 
Upvote 0

magi6162

Well-Known Member
Licensed User
Longtime User
sorry, unfortunately I did not find any methods that can be useful (eg: enable googlemap design mode)
thanks to the availability:)
 
Upvote 0
Top