VTM - Questions regarding overlays

91 views
Skip to first unread message

jvoyatz

unread,
Jul 17, 2016, 6:56:59 AM7/17/16
to mapsforge-dev
Hey all,

I want to ask if something like Bubble-Overlay is supported in VTM library?

Also, is there any case the vtp-app module from OpenScienceMap  to be integrated inside vtm? 
I have seen that this repo includes a class InfoWindow. Maybe this class is something like Bubble Overlay.

Thanks,
jvoyatz

Emux

unread,
Jul 17, 2016, 7:37:43 AM7/17/16
to mapsfo...@googlegroups.com
On 17/07/2016 01:56 μμ, jvoyatz wrote:
I want to ask if something like Bubble-Overlay is supported in VTM library?

It's possible to have bubble overlays with two ways:

- Converting a regular view to bitmap and set it as marker.
You can see its full implementation in our BubbleOverlay example in Mapsforge.
Exactly the same procedure can be done in VTM too.
Though this way does not permit interactivity with internal view elements, like buttons.

- For that would need a complete view as marker, like the case you mentioned.


Also, is there any case the vtp-app module from OpenScienceMap  to be integrated inside vtm? 
I have seen that this repo includes a class InfoWindow. Maybe this class is something like Bubble Overlay.

Some elements (after the needed review) could be transferred in the library (in their respective platform module) for user convenience.

--
Emux

Emux

unread,
Jul 17, 2016, 7:48:38 AM7/17/16
to mapsfo...@googlegroups.com
On 17/07/2016 01:56 μμ, jvoyatz wrote:
Also, is there any case the vtp-app module from OpenScienceMap  to be integrated inside vtm?

Or we could transfer the whole vtm-app as a separate module inside vtm repo, after updating it to play with our latest code.

That would be probably the fastest & more convenient way?

--
Emux

jvoyatz

unread,
Jul 18, 2016, 3:48:25 PM7/18/16
to mapsforge-dev
Hey,

Sorry for the delay...

Yes I agree, this is possibly the best solution...
I 'll take a look tomorrow.

Thanks,
jvoyatz

Emux

unread,
Jul 21, 2016, 3:36:59 PM7/21/16
to mapsfo...@googlegroups.com
I integrated vtm-app as module in our VTM fork.

Several updates / fixes were needed to make it compatible with latest VTM.

As expected not all online functionality will work, e.g. routing old API is broken.

But the important stuff like the core map functions work ok again.

--
Emux
Reply all
Reply to author
Forward
0 new messages