I tried using the google maps marker manager, but I seem to run into a brick wall every time, I follow the tutorials on how to create markermanager in google documentation, but it doesn't seem to work for me, this is the problem how my code is written ? The disappearance of ideas here, at the moment I installed ONE marker, which fell on the map based on latlng.
Can someone try to make a tutorial code and find a working solution for me? it drives me crazy.
@{ ViewBag.Title = "Index"; } <h2>Index</h2> <div id="map_canvas" style="width:500px; height:500px;"></div> <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> @*<script src="../../Scripts/markermanager.js" type="text/javascript"></script>*@ <script type="text/javascript"> function initialize() { var latlng = new google.maps.LatLng(-34.397, 150.644); var myOptions = { zoom: 8, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP </script>
source share