Code

Opened 4 years ago

Last modified 3 years ago

#13112 new New feature

Customize map type in contrib.gis.maps.google

Reported by: nbv4 Owned by: nobody
Component: GIS Version: 1.1
Severity: Normal Keywords: googlemaps, gmaps
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: yes
Needs tests: yes Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

By default, all maps are of the type "G_PHYSICAL_MAP", I propose you add a keyword option "map_type" which specifies which type gets rendered:

map = GoogleMap(map_type='terrain', markers=[marker])

Attachments (1)

map_type.diff (2.2 KB) - added by nbv4 4 years ago.
Add map types to GoogleMap class in GIS

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by nbv4

Add map types to GoogleMap class in GIS

comment:1 Changed 4 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 3 years ago by lukeplant

  • Type set to New feature

comment:3 Changed 3 years ago by lukeplant

  • Severity set to Normal

comment:4 Changed 3 years ago by julien

  • Needs documentation set
  • Needs tests set

comment:5 Changed 2 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:6 Changed 2 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new
The owner will be changed from nobody to anonymous. Next status will be 'assigned'
as The resolution will be set. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.