Skip to content

Commit

Permalink
Update javascript.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Dec 30, 2024
1 parent 0445686 commit a7c87a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SpBlocklyJS/googlemap_20241226/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Blockly.JavaScript['googlemap_addstreetview'] = function (block) {
var code = ''+
'let position_map_'+mapid+' = {lat: '+latitude+', lng: '+longitude+'};\n'+
'map_'+mapid+' = new google.maps.StreetViewPanorama(document.getElementById("gamediv_"+'+divid+'), {\n'+
' center: position_map_'+mapid+',\n'+
' position: position_map_'+mapid+',\n'+
' mapId: "mapid_"+'+divid+',\n'+
' pov: {\n'+
' heading: '+Number(heading)+',\n'+
Expand Down

0 comments on commit a7c87a1

Please sign in to comment.