I have a problem
when a add the code:
<script type="text/javascript" src="http://maps.google.com/maps/api/js?
sensor=false"></script>
my application don't calcute the routs.
in the code:
directionsService.route(request, function(response, status) {
alert("AKI");
if (status == google.maps.DirectionsStatus.OK) {
directionsDisplay.setDirections(response);
}
});
don't appears the alert.
but if I add the code:
<script src="http://maps.google.com/maps?
file=api&v=2&sensor=false&key=ABQIAAAA6cQGQ-VIfKZAY5CYKtN7-
BQ0N68nMSLYIFwKqgei_Prq0QYfWxSvrZ3jWLNzmKG6-62_dAzE7M2bow" type="text/
javascript"></script>
then the message of alert appears, but don't the map
Someone could tell me what's wrong?
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.