拥有这个:
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?libraries=drawing&sensor=true">
</script>
<style type="text/css">
#map-ubicacion { width: 450px;
height: 400px; }
</style>
<div class="map-ubicacion" id="map-ubicacion"></div>
<script type="text/javascript">
var map;
var elevator;
var myOptions = {
zoom: 6,
center: new google.maps.LatLng(-32.73, -56.),
mapTypeId: 'terrain',
streetViewControl: false,
navigationControl: true,
navigationControlOptions:
{
style: google.maps.NavigationControlStyle.ANDROID
}
};
map = new google.maps.Map(document.getElementById('map-ubicacion'), myOptions);
var draw= new google.maps.drawing.DrawingManager({
drawingMode: google.maps.drawing.OverlayType.POLYGON,
drawingControl: true,
polygonOptions: {
clickable: true,
draggable: true,
editable: true,
fillColor: '#ffff00',
fillOpacity: 0.8,
strokeWeight: 5
}
});
draw.setMap(map);
</script>
当我加载它时:错误:Valor no válido para la propiedad : [object Object] ...tf,a),this.b&&this.b(a))};va(gg[H],function(a){ var b=this.ta,c=Tf(a);b[c]&&(删除...
我在谷歌上找不到任何解决方案,有什么想法吗?