How to implement zoom in/out of a map on wxWidgets Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
WeiLu
In need of some credit
In need of some credit
Posts: 6
Joined: Fri Feb 12, 2021 6:34 pm

How to implement zoom in/out of a map on wxWidgets

Post by WeiLu »

Hello to all,

Currently I need to draw a railway network using wxWidgets, including stations(circle) and tracks(line).

But the network contains thousands of stations and tracks, so we can't look in details.

Thus, I would like to implement a function zoom in/out like Google Map.

Does someone have an idea or some examples similar to this using wxWidgets?

Many thanks!
New Pagodi
Super wx Problem Solver
Super wx Problem Solver
Posts: 466
Joined: Tue Jun 20, 2006 6:47 pm
Contact:

Re: How to implement zoom in/out of a map on wxWidgets

Post by New Pagodi »

I posted an example of how to do this here.
Post Reply