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 @@ -23,6 +23,7 @@ def __init__(
2323 zoom = 13 ,
2424 maptype = "ROADMAP" ,
2525 markers = None ,
26+ map_ids = None ,
2627 varname = "map" ,
2728 style = "height:300px;width:300px;margin:0;" ,
2829 cls = "map" ,
@@ -62,6 +63,7 @@ def __init__(
6263 self .center = self .verify_lat_lng_coordinates (lat , lng )
6364 self .zoom = zoom
6465 self .maptype = maptype
66+ self .map_ids = map_ids ,
6567 self .markers = []
6668 self .build_markers (markers )
6769 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