~geospatial-addons-core-editors/geospatial-addons/github-6.1

« back to all changes in this revision

Viewing changes to base_geoengine/geo_view/geo_raster_layer.py

  • Committer: Alexandre Fayolle
  • Author(s): Nicolas Bessi
  • Date: 2013-02-06 12:44:09 UTC
  • mfrom: (88.2.2)
  • Revision ID: git-v1:34db75524825b5cccec4d8de6708ef6690ca7e0a
support new MapBox API and add a better default style

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
                                                  ('G_HYBRID_MAP', 'Google Hybrid map'),
42
42
                                                  ('G_PHYSICAL_MAP', 'Google Physical map')],
43
43
                                                 string="Google raster layer type"),
44
 
                'mapbox_type':  fields.selection([('mapbox.mapbox-streets', 'Streets'),
45
 
                                                  ('mapbox.mapbox-light', 'Light')],
46
 
                                                 string="Mapbox raster layer type"),
 
44
                'mapbox_id':  fields.char("Mapbox ID", size=256),
47
45
                'swisstopo_type':  fields.selection([('ch.swisstopo.pixelkarte-farbe', 'Color map'),
48
46
                                                     ('ch.swisstopo.swissimage', 'Aerial imagery')],
49
47
                                                    string="Swisstopo raster layer type"),