Unde suntem

Imprimare
// Create a map object var map = new YMap(document.getElementById('map')); // Add map type control map.addTypeControl(); // Add map zoom (long) control map.addZoomLong(); // Add the Pan Control map.addPanControl(); // Set map type to either of: YAHOO_MAP_SAT, YAHOO_MAP_HYB, YAHOO_MAP_REG map.setMapType(YAHOO_MAP_REG); // Display the map centered on a geocoded location map.drawZoomAndCenter("12, Bogdan Petriceicu Hasdeu, Bucharest, Romania", 4); currentGeoPoint = new YGeoPoint( 44.431041, 26.083716 ); map.addMarker(currentGeoPoint); newMarker.addAutoExpand("Add a Label to a Marker for this Effect");