Goole Maps "latitude and longitude"

Hi ,
I want to add Google Simple Maps to one of my layout.
I also use address dataset table and I want to set this address on the map.
How to use this address “latitude/ longitude” variable from the address data table.

I use these code
Problem is “latitude and longitude” variable from the dataset field get the data.

div id=“map” style=“width:100%;height:500px”>

script>
function myMap() {
_ var mapCanvas = document.getElementById(“map”);_
_ var mapOptions = {_
_ center: new google.maps.LatLng(39.641005, 27.891755),_
_ zoom: 10_
_ };_
_ var map = new google.maps.Map(mapCanvas, mapOptions);_
}
/script>

/body>
/html>

I’ve just answered the same question in a different thread. You can’t substitute in values from a dataset using an embedded HTML widget.

If you’re using values from a dataset, you could do it with a DatasetView or Ticker, in which case you’d substitute those variables as you would for any other.

If you’re looking to do the display’s location, then that’s standard functionality with 1.8 Traffic widget.

First of all thank you your answer.
I want to explain my goal again.
May be different way to solve this problem.

I have a data list of pharmacy on duty. It has also address and on duty date.
I want to just show on duty pharmacy on the map.
It sounds simple. But I am sorry hear your answer.
Thank you again. I am fallowing your team.

First of all thank you your answer.
I want to explain my goal again.
May be different way to solve this problem.

I have a data list of pharmacy on duty. It has also address and on duty date.
I want to just show on duty pharmacy on the map.
It sounds simple. But I am sorry hear your answer.
Thank you again. I am fallowing your team.

I’m not sure you’ve understood my response.

You can do what you want, but not with an Embedded HTML media type. Instead you would need to use a DataSet View.