Bug? B4i B4XDrawer with google maps

Davisbc

Member
Licensed User
Has anyone been able to get b4xdrawer or b4xdrawerAdvanced to work with google maps or xsd_openmaps?

This works great in B4A, but i have been unable to get b4xdrawer to work with either of the two map libraries in B4i. The issue can be seen when you add the mapping library to the project. No extra code required

Thanks in advance,
B
 

Davisbc

Member
Licensed User
two separate issues.

1. b4xdrawer and google maps.
the initialize function and the set Left and center functions process. the drawer instance even says it initializes. However, no layout is added. you do not need to add gmap. you make the center layout just a panel. If the libr is included in the build, the drawer does not work (no layout load load or sidebar). remove google maps, and the layouts load. it dies the same with b4xdraweradvanced.

2. b4xdrawer and xsd_openmaps
including both of these libraries causes build to fail. Fail means build causes lots of error messages. Remove either libr and app will build.

Thanks,
B
 

Star-Dust

Expert
Licensed User
Longtime User
Attach a small example so we can try it
 

Davisbc

Member
Licensed User
in both cases, i used the d4xdrawer demo, attached.
 

Attachments

  • B4XDrawer.zip
    33.5 KB · Views: 44

Davisbc

Member
Licensed User
I finally got google maps to work with b4xdrawer demo in B4i. Still does not work in my program, but the demo works. Thanks
 

Star-Dust

Expert
Licensed User
Longtime User
I tried it and it doesn't give me any errors. What error does it generate for you?

Attach the error in text format
 

Davisbc

Member
Licensed User
if i remove openmaps from the libr, i get no error. Thanks for looking

B
 

Attachments

  • openmaps b4i error text.txt
    55.8 KB · Views: 45

Davisbc

Member
Licensed User
That worked. It did give me a warning that its not used, but it will be.
Thanks, b4xdrawer and xsd_openmaps are both working.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…