- 日時
2023-07-09
- 作
- バージョン
2023.2
- URL
- depth
1
2023-07-09
2023.2
1
2024-04-19
2024.1
2
struct Vec { x: float, y: float } | |
trait VecRhs { | |
fn add_to_Vec(&self, lhs: &Vec) -> Vec; | |
} | |
impl<R: VecRhs> Add<R, Vec> for Vec { | |
fn add(&self, rhs: &R) -> Vec { | |
rhs.add_to_Vec(self) | |
} |
$(function() { | |
var map = new google.maps.Map(document.getElementById("map_canvas"), {}); | |
var newyork = new google.maps.LatLng(40.69847032728747, -73.9514422416687); | |
var googleMapWidth = $("#map_canvas").css('width'); | |
var googleMapHeight = $("#map_canvas").css('height'); | |
map.setCenter(newyork); | |
$('#enter-full-screen').click(function(){ |