Hi DevExpress support team,
i wonder how to embed a google maps javascripts v3 control into my XAF application. I figured out how to use the embedding version (Embedded map control) but i want to use a control with more customization functionality. Could you please tell me the right approach i should use to embed a html 5 page with javascript functions n my xaf application (PropertyEditor, ViewItem, …)?
HTML<!DOCTYPE html>
<html>
<head>
<style type="text/css">
html, body, #map-canvas { height: 100%; margin: 0; padding: 0;}
</style>
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=API_KEY">
</script>
<script type="text/javascript">
function initialize() {
var mapOptions = {
center: { lat: -34.397, lng: 150.644},
zoom: 8
};
var map = new google.maps.Map(document.getElementById('map-canvas'),
mapOptions);
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
</head>
<body>
<div id="map-canvas"></div>
</body>
</html>
Thanks in advance, kind regards
Wolf
Hi Wolf !
I have a same problem too,- and I think a lot of people has.
How is your project ? Did you finish it successful ?
I am interesting your project, I would be very happy, if I can view your project, and project source.
thanks, and have a nice day,
Zoltan
Hi Zoltan,
sorry to inform you that this project was only created to a prototyp stadium and did til now never finished. So i dont have any futher informations for you.
Kind greetings
Wolf