JQuery :: HermiteSpline Overrides The Marker?
Jan 10, 2011I am using the Hermite Spline plugin to smoothen out the curves. When using this plugin, the markers do not show on my graph..
View 1 RepliesI am using the Hermite Spline plugin to smoothen out the curves. When using this plugin, the markers do not show on my graph..
View 1 RepliesI'm doing some customisation on existing software - my objective was to reflect changes to a form in a separate table.The forms require the user to enter numbers and these are totalled in the final formfieldvia an existing 'onkeyup' function.I used keyup to copy the value typed and add it to the summary table. However in doing this, the existing 'onkeyup' function written into the form no longer works and so the total is no longer displayed. I tried using keypress instead (which still had the same issue), or including the function from the onkeyup in my keyup function, but it just didn't run.how to work around this? I can't modify the existing code.
View 1 Replies View RelatedI am writing a modification to Invision Power Board that makes replying to post via Ajax.
The "Submit" button is being overrun by Prototype's observe function. When the custom function is executed, I run Event.stop(e) to prevent the actual form from being submitted and reload the page.
I have developed and tested on Safari but users began to report bugs in IE, after investigation I discovered that the line
Code:
Is making IE execute all the code after it, and then execute its own onclick() function as if Event.stop(e) was not there. Commenting this line fixes the problem, the page is not reloaded, but this line is vital to the code.
So why do I need to set the anchor? To support the back button function after a user makes an ajax reply, pressing Back should hide the new content, and pressing Forward should make it visible. (e.g. every time the anchor is changed) This all works nicely. But not in IE.
This only happens the first time the page is visited ever, or clearing cache and visiting it again. Reloading the page fixes the problem but this is not normal behavior and users shouldn't have to reload to use the Ajax fast reply...
i am trying to create some markers on an image to point some options. I would like to emulate the same shape as google marker balloon, but i dont know if its possible to create using just css and javascript or not.
i have created a function which creates a rectangular div on the image when we click on the image. but i want its shape to be like a water drop, as it is much more better to see and figure out what it is pointing to.
I am wondering if Jquery can navigate to a specific page marker from the url? For exampleCan i test the url to see if it has the #... added and then use that number to navigate to an appropriate page marker?
View 9 Replies View RelatedI'm using the goMap Google Maps plugin very successfully (and I highly recommend it) - except that I can't seem to set shadows on my map markers. There appears to be support for this in the plugin source code - but there's no documentation I can find.
Anyone got an clues on how to do this? This is a simplified version of the code I'm trying to use. I have checked the obvious/stupid things - file path is correct (the image isn't 404ing in firebug), and there's no js errors being thrown, or any other warnings reported.
[Code]...
I want to know if this can be done using jQuery and Google Maps. In my website I have a Google map where users could add new markers with a description on it and the marker they put would be permanent on my map, meaning if they comeback they would still see the markers they added.
I also want the feature that they could just drag and drop the marker, so it would be easy to the users. What would be my approach and how would I do it?
I am currently building a web app that uses Google Maps V3 api.
You select a check box which then shows a marker on the map.
My issue is, when you select and the marker is placed, I need the map to focus to that point, it currently embeds but doesn't focus.
Is there a particular function I could use to achieve this?
My current code is shown below:
I want to add a google map(with street view) in my site. I use this code. when I clicked the point on the map, it can change the street view to this part and show the click point information. But how to add a Red balloons marker in the click point? Then I click in the other point, the first Red balloons marker will move to the new point.( just click for move the marker, not drag the marker)
<!--
You are free to copy and use this sample in accordance with the terms of the
Apache license (http://www.apache.org/licenses/LICENSE-2.0.html)
[code]....
I am generating a google map and plotting markers based on the IP addresses of cities stored in my database.
For each marker i display on the map I want the user to be able to see the city name and also a number that is generated from my DB.
So Id have a custom blank marker and put the city name and a number onto the marker. Is this possible?
Very similar to this: [url]
On my site: [url]
I am able to move my logo on my map, is there any way of locking it's position?
I'm trying to remove a marker that was initialized like this:
marker = new google.maps.Marker({
position: latLng,
map: map,
draggable: true,
animation: google.maps.Animation.DROP,
title: 'Marker 1',
[Code]...
I am trying to pass _marker to showEquipmentDataDiv() in the code below but I get a runtime error that says
Quote:
The alert(_marker.getTitle()) works so the marker is being passed to getLocationEquipmentHTML() correctly.
Code:
i need to be able to add geo location on the map. i would like to click a button and add my location marker on the map. enclosed is my code this is using google map api v3
Code:
<script type="text/javascript">
function initialize() {
[code]....
This is some of the script that I have and it works well. The story is that I have a drop down list and depending on the selection a different set of text is displayed below the list.
if (Val == "general")
{
document.getElementById('Link0').innerHTML="<font size=2><a Href='http://www.web1.com/'>web 1</a>"
document.getElementById('Link1').innerHTML="<font size=2><a Href='http://www.web2.com/'>web 2</a>"
However when the selection runs this part of the code:-
[Code]....
The "web 3" text is placed under where the 'Link0' text would have been if there had been some. So basically what I need to do is set the 'Link0' text to nothing and have the 'Link1' text sit in its place. I know I could just put the 'Link1' text in the 'Link0' element but I have other controls on the screen that mean I need to run it as it is.
how can I get my custom markers to show? I have got my code in place, everything works except, doesn't show my custom marker?!
here is my code:
<script type="text/javascript">
//<![CDATA[
if (GBrowserIsCompatible()) {
// A function to create the marker and set up the event window
// Dont try to unroll this function. It has to be here for the
[Code]...
Right I have google maps connected to a database which holds stockists and their information. The user enters their postcode and radius and markers are put on the map of stockists in the radius of their postcode. I have this all working fine and the database chucks the information into an xml file fine. The problem im having is displaying the information in the pop up window of the marker.
Example Xml:
The only information displayed in the sidebar entry is the name and distance and on the marker just the name.
I am trying to add markers to Google Maps, they are working fine but some of the markers are of same location, thus Google Map will show only one marker for them. Is it possible to show all markers no matter if they are of same location.
View 1 Replies View RelatedI'm trying to update the location of a marker in a Google Maps API. The only problem is that the marker won't update (only if i update the whole initialize() function with a setTimeout function).
It goes about the following code:
Code:
What i want is that the marker updates automatically (with AJAX) and not the whole map. First of al i thought i push the code that set's te marker in a function, and reload that every 4 seconds. But that doesn't work.
I have the code below but for some reason it only works when adding the marker to the map (map click). When I drag the marker around, the coordinates and closest address don't update.
This code works if I add the marker straight in the initialize() function but not when I add it within the addListenerOnce for map click event. I want to be able to add 1 marker to the map, and update its address and coordinates when dragging the marker around.
[Code]...
Of course, I make code for marker add and move, but how do I can make deletion option for marker? And how do I can make automatic route creator from marked point A to marked point B?
View 1 Replies View Related<html><head><title>Switchfoot Home</title>
<link rel="stylesheet" type="text/css" href="styles/layoutMain.css" />
<link rel="stylesheet" type="text/css" href="styles/toursContent.css" />
<script type="text/javascript" src="scripts/rollOvers.js"></script>
<script src="[URL]" type="text/javascript"></script>
<script type="text/javascript">
var browser = navigator.appName;
var b_version=navigator.appVersion;
var version = parseFloat(b_version);
var xmlDoc;
IE 5 and IE 6
if (browser=="Microsoft Internet Explorer"){
xmlObj=new ActiveXObject("Microsoft.XMLDOM");
xmlObj.async="false";
xmlObj.load("tourList.xml");
xmlDoc=xmlObj.documentElement; .....
I am keeping all the data of the markers in this XML file, I am dynamically loading the map information using AJAX from the XML file. Now what I want to do is to have a combo box, populate all the names of the combo box and when a specific location is selected the map will pan to the selected marker. Now the place I am stuck is that I cannot get the data names in the XML file to load into the marker. Basically I have tried various methods I searched on the internet that would be the last one I checked [URL]. Another one is that I used this line:
document.getElementById("tourName").options[k] = new Option(tourLocations[k][0]);
And some other methods also.
I have several google map markers and lightbox image gallery in the html file. I need to associate each image from the gallery with the markers.
I've tried this
Code:
google.maps.event.addListener(marker01, 'click', function() {
document.getElementById("bump");
});
"bump" is id of div with the image, but it didn't work.
I'm trying to call a javascript from a marker in my embedded google map on my website. But it's not working out the way I want. I'm making a link in "my maps" but he deletes all the javascript I'm trying to implement.
View 1 Replies View RelatedI am designing a site where users can submit a location. I want to use Google Maps with a draggable marker which posts the lat, lon when dropped on a position. I was wondering if anyone knows of a tutorial or could point me in the direction of anything similar.
View 2 Replies View RelatedMy goal is to display an address. In the example on google, you can input it through a form:[url]
I would like the map to show the location+marker when I open the page, not after clicking a submit button.
However, I only want an address in my html. I want the API to convert it in a LatLng format.
It's all in the source code of the page mentioned above.