B4J Library [ABMaterial]: Mapping with Leaflet.js?

joulongleu

Active Member
Licensed User
Longtime User
1.post #13 The reason I have found is that I have not MashPlugIns.Initialize. Thanks mashiane
2.mll.OpenPopUp("m1") ,Great function
3.mll.GeoNames=True ,I found that in the code, I don't know how to use, it will be a very useful feature.
 

Mashiane

Expert
Licensed User
Longtime User
By default, the property to turn the map into full screen is active. Another boolean property EasyPrint exists, if you turn this on, you can click on it to download the map to png. These are not yet 100% perfect though, if one is trapping the click events, sometimes this disrupts and a map click event fired.


1. Full Screen button
2. EasyPrint button.
 

joulongleu

Active Member
Licensed User
Longtime User
Thanks to Mashiane for assistance, enter the place name on the map is ok, if I want to use code to enter the place name, how to use?
 

liulifeng77

Active Member
Licensed User
Longtime User
hi,I run your project"askteencoach"
it shows error message:
B4X:
B4J Version: 6.00
Parsing code.    (0.12s)
Compiling code.    Error
Error compiling program.
Error description: Unknown member: enumcolors
Error occurred on line: 1053
mll.AddMarker1("m1","<strong>Medium Rocket</strong>", 30.287, -97.72, mll.EnumMakiIcons.rocket,MashPlugIns.EnumColors.blue,mll.EnumMarkerIconSize.medium)
Word: enumcolors

something I missed?
thanks!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…