File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ def __init__(
2222 zoom = 13 ,
2323 maptype = "ROADMAP" ,
2424 markers = None ,
25+ map_ids = None ,
2526 varname = "map" ,
2627 style = "height:300px;width:300px;margin:0;" ,
2728 cls = "map" ,
@@ -58,6 +59,7 @@ def __init__(
5859 self .center = (lat , lng )
5960 self .zoom = zoom
6061 self .maptype = maptype
62+ self .map_ids = map_ids ,
6163 self .markers = []
6264 self .build_markers (markers )
6365 self .rectangles = []
Original file line number Diff line number Diff line change 11
22{% if not is_googlemaps_loaded() %}
33 {% if GOOGLEMAPS_KEY %}
4- < script src ="//maps.googleapis.com/maps/api/js?key={{GOOGLEMAPS_KEY}}&language={{gmap.language}}®ion={{gmap.region}} " type ="text/javascript "> </ script >
4+ < script src ="//maps.googleapis.com/maps/api/js?key={{GOOGLEMAPS_KEY}}&map_ids={{gmap.map_ids}}& language={{gmap.language}}®ion={{gmap.region}} " type ="text/javascript "> </ script >
55 {% else %}
66 < script src ="//maps.googleapis.com/maps/api/js?language={{gmap.language}}®ion={{gmap.region}} " type ="text/javascript "> </ script >
77 {% endif %}
You can’t perform that action at this time.
0 commit comments