Results 1 to 6 of 6

Thread: Convert Google maps code to openlayers

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2013
    Posts
    41

    Convert Google maps code to openlayers

    hi i have this code for google maps but need to convert it for openlayers bing maps
    Code:
       var latlng = new google.maps.LatLng(LAT, LNG);
            marker = new google.maps.Marker({
                position: latlng,
                title: 'Sitename' + ' ' + SiteName + ' '
                + 'LAC' + ' ' + LAC,
                animation: google.maps.Animation.DROP,
                draggable: true,
                icon: pinSymbol('cyan'),
                id: SiteName,
                label: { text: SiteName + ' ' + '(' + LAC + ')', color: '#ff0000', strokeColor: '#ffc125' },
                labelStyle: { opacity: 0.75 },
                zoom:20,
                map: gmap
    Last edited by Shaggy Hiker; Feb 6th, 2025 at 12:32 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width