panthernet/GraphX

GMap на заднем фоне

Art77 opened this issue · 1 comments

Art77 commented

Good afternoon. The question how to add the GMap map as a background with support for zoom and drag?

Hello. Could be quite tricky. Haven't tried something like this. You have to experiment with the library. For example, try to make ZoomControl for GraphArea with transparent background. Place the map underneath. Then you have to make sure click and mousewheel events are pass down to the map through the ZoomControl. Check exact control implementation to see how events are handled. Then you have to adjust the ZoomControl scroll and zoom smoothing values to be comparable with the map ones.