B4J Library jGoogleMaps library - Erel    Jun 26, 2023   (23 reactions)   tags: google map, WebView This library is similar to B4A and B4i GoogleMaps libraries.
https://www.b4x.com/basic4android/images/SS-2015-07-30_15.35.52.jpg
It is based on this open source project: https://github.com/dlsc... with GoogleMaps JavaScript API V3.
Using the map is quite simple. You need to initialize GoogleMap and then wait for the Ready event.
GoogleMap.AsPane returns the pane that holds the map. You should add... Share My Creation GoogleMapsDemo - klaus    Feb 9, 2022   (22 reactions)   tags: GoogleMaps Some time ago I played a lot with GoogleMaps according to this post: https://www.b4x.com/android...: https://www.b4x.com/android/forum/threads/calcolare-superficie-con-google-map.91740/#post-580370... below: GoogleMapsDemoLight, a light version of GoogleMapsDemo below for better understanding. GoogleMapsDemo, this project contains almost everything I found in the forum. You can draw different shapes, markers or InfoWindows onto a GoogleMap and edit their properties. The project has a Pane for... B4A Tutorial [B4X] [B4XPages] GoogleMaps example - Erel    Jul 13, 2020   (10 reactions) 97060
Example of showing a Google map, in a cross platform B4XPages project. The APIs of the three GoogleMaps libraries are quite different from one another, so we need to use platform specific code.../forum/threads/google-maps.63930/#content
B4J - https://www.b4x.com/android/forum/threads/56744... Other Java 9 and WebView (and GoogleMaps) - Erel    Oct 24, 2017   (8 reactions) There is an issue with the first version of Java 9 that causes WebView to not show anything unless the WebView is created after the form is shown. The workaround is simple, make sure to show the form before you load the layout.... B4J Code Snippet Google Map with custom style - Erel    Jul 29, 2019   (8 reactions) https://www.b4x.com/basic4android/images/SS-2017-10-11_09.44.35.png This method allows to set a custom style to the map. Step 1: Create the style with the wizard and save the json string in a file: https://mapstyle.withgoogle.com/ Step 2: Set the style after the map is ready: SetMapStyle(File.ReadString(File.DirAssets, "style.txt")) Code: Sub SetMapStyle(style As String) Dim jo As JavaObject = gmap jo = jo.GetField("map") jo.GetFieldJO("jsObject"... B4A Code Snippet [B4X] Decode and draw polylines in GoogleMap (Trip or Router). - TILogistic    Nov 30, 2021   (15 reactions) Decode and draw polylines in GoogleMap (Trip or Router). Use: Dim s As String = "mfp_I__vpAb@EwCc~@ Dim PointsList As List PointsList.Initialize2(DecodePolyline(s,5)) ' *** Log Views points *** For Each Points As LatLng In PointsList Log($"${Points.Latitude},${Points.Longitude}"$) Next ' *** Draw Polyline *** gmap...://developers.google.com/maps/documentation/utilities/polylineutility https://valhalla.readthedocs.io/en... B4A Code Snippet [UPDATE] [B4X] Decode and draw polylines in GoogleMap. - TILogistic    Nov 30, 2021   (9 reactions) Decode and draw polylines in GoogleMap. Use: Dim s As String = "mfp_I__vpAb@EwCc~@ Dim PointsList As List PointsList.Initialize2(DecodePolyline(s,5)) ' *** Log Views points *** For Each Points As LatLng In PointsList Log($"${Points.Latitude},${Points.Longitude}"$) Next ' *** Draw Polyline *** gmap.AddPolyline... Reference: https://developers.google.com/maps/documentation/utilities/polylinealgorithm https://valhalla... B4A Library [B4X][XUI] Scale for Google Maps - Erel    Dec 7, 2017   (11 reactions)   tags: Maps, GPS -cross-platform-native-ui-library.84359/#post-534432 It shows the map scale: https://www.b4x.com....com/pengrad/MapScaleView The code is written in B4X. Usage: - Add MapScale with the designer: https://www.b4x.com/basic4android/images/SS-2017-12-07_11.34.25.png The best way is to put the map itself in a panel and put MapScale above the map and NOT as the the panel's child. - Handle...) MapScale1.Update(Position.Zoom, Position.Target.Latitude) End Sub ... B4J Question Overlapping images + text, on Google Maps markers - amorosik    Jan 23, 2021 I use jGoogleMaps to display a map and markers with the positions of some cars For each car I have a small image that is used to display the car on the map In addition to the position I would also like to indicate the direction of the individual cars and a text to indicate the speed and the name of the driver So the marker should consist of: - small car image - arrow image to indicate direction - alphanumeric string to indicate speed and driver I currently load the small car image using... B4J Question [SOLVED] jGoogleMaps lib not working 100% - sorex    Sep 9, 2020 Hello, There seems to be an issue with the Google Maps library. The map appears but then it dissapears and gives an error. Clicking on the "go to Eiffel" makes it crash aswell.... Page: 1   2   3   4   5   6   7   |