Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Straßenanbindung mit google maps (apex)

Empfohlene Antworten

Was muss ich denn in meinem Javascript verändern um ne straßenanbindung zu erstellen?

mein Javascript:

<script

src="http://maps.google.com/maps?file=api&v=2&key=&API_KEY."

type="text/javascript"></script>

<script type="text/javascript">

//<![CDATA[

//globals

var bounds = new GLatLngBounds();

function initMap() {

if (GBrowserIsCompatible()) {

var map = new GMap2(document.getElementById("map"));

var title = "&P2_CUST_STREET_ADDRESS1.";

map.addControl(new GSmallMapControl());

map.addControl(new GMapTypeControl());

var point = new GLatLng(&P1_LOCATION.);

var point = new GLatLng($v('P2_LATITUDE'),$v('P2_LONGTITUDE'));

bounds.extend(point);

map.setCenter(point);

map.setZoom(map.getBoundsZoomLevel(bounds)-4);

var marker = new GMarker(point);

map.addOverlay(marker);

marker.openInfoWindowHtml('<div class="tiny">' +

title.replace(/~/g,"<br />") + '</div>');

}

}

//]]>

</script>

<script type="text/javascript">

var map;

var directionsPanel;

var directions;

function initialize() {

map = new GMap2(document.getElementById("map_canvas"));

map.setCenter(new GLatLng(42.351505,-71.094455), 15);

directionsPanel = document.getElementById("route");

directions = new GDirections(map, directionsPanel);

directions.load("from: 500 Memorial Drive, Cambridge, MA to: 4 Yawkey Way, Boston, MA 02215 (Fenway Park)");

}

</script>

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.