1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 """
22 This module provides all the functionality needed to create web-based maps from
23 SABX files. These maps use Google Maps for display. Instead of trying to
24 describe them, I'll just refer you to
25 U{SABikeRides.com<http://www.sabikerides.com/>} where you can see maps that
26 have been created by this module. Note that this module and its templates just
27 create the map page itself. The profiles and printable pdf versions of the
28 maps are created by the L{sabx10.osm}, L{sabx10.pdf_gen}, and
29 L{sabx10.profiles} packages.
30
31 The main entry point for this package is the L{SabxProcessor} class in the
32 L{sabx10.map.map} module.
33
34 Copyright
35 =========
36
37 The sabx10.map package is part of sabx10.
38
39 sabx10 - an SABX file manipulation library
40 Copyright (C) 2009, 2010 Jay Farrimond (jay@sabikerides.com)
41
42 sabx10 is free software: you can redistribute it and/or modify it under the
43 terms of the GNU Lesser General Public License as published by the Free
44 Software Foundation, either version 3 of the License, or (at your option) any
45 later version.
46
47 sabx10 is distributed in the hope that it will be useful, but WITHOUT ANY
48 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
49 PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
50 details.
51
52 You should have received a copy of the GNU Lesser General Public License along
53 with sabx10. If not, see U{http://www.gnu.org/licenses/}.
54 """
55
56 from consts import BORDER
57 from map import SabxProcessor
58 from utils import determine_path
59