-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey, I'm trying to work out how to use this to get the distance from the successful directions:
http://code.google.com/apis/maps/documentation/v3/reference.html#DirectionsDistance
This is the code I have so far:
var googleMaps = {
// HTML Nodes
fromInput: google_maps_from,
toInput: google_maps_to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
On my site here, the SteetView control, aka "Pegman", works great under Firefox. Under IE (7 in this case, but tested on 8 as well - same result) it breaks the display of the pegman control.
Here's my map code:
var directionsDisplay;
var directionsService = new google.maps.DirectionsService();
var…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I'd like to know how to put multiple markers for Google Maps using Javascript API v3.
I tried the solution posted here: http://stackoverflow.com/questions/1621991/multiple-markers-in-googe-maps-api-v3-that-link-to-different-pages-when-clicked
but it does not work for me for some reason.
var…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a map with multiple markers, which I populate via an array. Each marker is clickable and should take the user to a different url per marker.
The problem is that all the markers, while displaying the correct title, all use the url of the last entry in the array.
Here is my code:
var myOptions…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
hello friends,
I have implemented one Flex application in which I want to display 3D google map.In which I am getting the error the NUll object reference during map display.
Here is my code:-
import com.google.maps.controls.MapTypeControl;
import adobe.utils.XMLUI;
import mx.rpc…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a production environment which require access through a proxy server. Occasionally said server returns blank responses badly confusing the Metro web service library causing all kinds of interesting RuntimeExceptions. I believe the proxy is Squid.
In order to handle these better, I would…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've seen many tutorials online that says you need to check $_SERVER['HTTPS'] if the server is connection is secured with HTTPS. My problem is that on some of the servers I use, $_SERVER['HTTPS'] is an undefined variable that results in an error. Is there another variable I can check that should always…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I'm trying to redirect users to a subdomain in server2 if they make an https request to server1. I only have one certificate, and that's installed on server2.
So for instance, from (server1) https://www.example.com to (server2) https://ssl.example.com
My best guess is that I will need a certificate…
>>> More
-
as seen on Super User
- Search for 'Super User'
I'm trying to get Apache to redirect all http and https traffic to a single endpoint www.example.org. The http part is easy:
<VirtualHost *:80>
ServerName example.org
Redirect permanent / https://www.example.org/
</VirtualHost>
# long list of other domains, all redirecting to…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I am trying to send commands to a SOAP service, and getting nothing in reply. The SOAP service is at a completely separate site from either server I am testing with.
I have written a dummy script with the SOAP XML embedded. When I run it at my local site, on any of three machines -- OSX, Ubuntu,…
>>> More