Hello,
I am trying to create a map control for displaying map tiles (openstreet map tiles).
gtk.DrawingArea can be used in GTK. What’s the equivalent in wxPython?
Thanks.
BR,
Austin
Hello,
I am trying to create a map control for displaying map tiles (openstreet map tiles).
gtk.DrawingArea can be used in GTK. What’s the equivalent in wxPython?
Thanks.
BR,
Austin
no idea exactly what a DrawingArea is, but you could to slippy maps with a
wx.Window or wx.Panel, drawing the tiles with a wx.DC.
You might also consider building on top of wx.lib.floatcanvas -- you'
ll get a lot for free there.
Also _- google it -- I recall seeing a wxPython-based slippy map
implementation somewhere -- why write it yourself?
-Chris
On Mon, Aug 4, 2014 at 8:09 AM, austin aigbe <eshikafe@gmail.com> wrote:
I am trying to create a map control for displaying map tiles (openstreet
map tiles).
gtk.DrawingArea can be used in GTK. What's the equivalent in wxPython?
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov
huh, never heard the term ‘slippy map’ before today, and I’ve been using these things for years!
a quick google turns up lots of results, one of which is:
https://code.google.com/p/pyslip/
On Monday, August 4, 2014 9:45:21 AM UTC-7, Chris Barker wrote:
On Mon, Aug 4, 2014 at 8:09 AM, austin aigbe eshi...@gmail.com wrote:
I am trying to create a map control for displaying map tiles (openstreet map tiles).
gtk.DrawingArea can be used in GTK. What’s the equivalent in wxPython?
no idea exactly what a DrawingArea is, but you could to slippy maps with a wx.Window or wx.Panel, drawing the tiles with a wx.DC.
You might also consider building on top of wx.lib.floatcanvas – you’
ll get a lot for free there.
Also _- google it – I recall seeing a wxPython-based slippy map implementation somewhere – why write it yourself?
-Chris
–
Christopher Barker, Ph.D.
OceanographerEmergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 faxSeattle, WA 98115 (206) 526-6317 main reception
I am actually aware of pyslip but I prefer gmapcatacher’s map tiler implementation (Google Code Archive - Long-term storage for Google Code Project Hosting.).
I thought I could port the mapDrawingArea module to wxPython.
Anyways, thanks for the suggestions.
Regards,
Austin
On Monday, August 4, 2014 6:38:21 PM UTC+1, Nathan McCorkle wrote:
huh, never heard the term ‘slippy map’ before today, and I’ve been using these things for years!
a quick google turns up lots of results, one of which is:
https://code.google.com/p/pyslip/
On Monday, August 4, 2014 9:45:21 AM UTC-7, Chris Barker wrote:
On Mon, Aug 4, 2014 at 8:09 AM, austin aigbe eshi...@gmail.com wrote:
I am trying to create a map control for displaying map tiles (openstreet map tiles).
gtk.DrawingArea can be used in GTK. What’s the equivalent in wxPython?
no idea exactly what a DrawingArea is, but you could to slippy maps with a wx.Window or wx.Panel, drawing the tiles with a wx.DC.
You might also consider building on top of wx.lib.floatcanvas – you’
ll get a lot for free there.
Also _- google it – I recall seeing a wxPython-based slippy map implementation somewhere – why write it yourself?
-Chris
–
Christopher Barker, Ph.D.
OceanographerEmergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 faxSeattle, WA 98115 (206) 526-6317 main reception
Well I think the idea was that you could use pyslip to see how they’re drawing the tiles. Once you know that, you should be able to swap the code into gmapcatcher.
On Monday, August 4, 2014 12:26:23 PM UTC-7, austin aigbe wrote:
I am actually aware of pyslip but I prefer gmapcatacher’s map tiler implementation (https://code.google.com/p/gmapcatcher/).
I thought I could port the mapDrawingArea module to wxPython.
Anyways, thanks for the suggestions.
Regards,
Austin
On Monday, August 4, 2014 6:38:21 PM UTC+1, Nathan McCorkle wrote:
huh, never heard the term ‘slippy map’ before today, and I’ve been using these things for years!
a quick google turns up lots of results, one of which is:
https://code.google.com/p/pyslip/
On Monday, August 4, 2014 9:45:21 AM UTC-7, Chris Barker wrote:
On Mon, Aug 4, 2014 at 8:09 AM, austin aigbe eshi...@gmail.com wrote:
I am trying to create a map control for displaying map tiles (openstreet map tiles).
gtk.DrawingArea can be used in GTK. What’s the equivalent in wxPython?
no idea exactly what a DrawingArea is, but you could to slippy maps with a wx.Window or wx.Panel, drawing the tiles with a wx.DC.
You might also consider building on top of wx.lib.floatcanvas – you’
ll get a lot for free there.
Also _- google it – I recall seeing a wxPython-based slippy map implementation somewhere – why write it yourself?
-Chris
–
Christopher Barker, Ph.D.
OceanographerEmergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 faxSeattle, WA 98115 (206) 526-6317 main reception