corts / gmaps-samples Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/gmaps-samples
Automatically exported from code.google.com/p/gmaps-samples
The resulting URL is not working, because the path is slightly modified after
creating the signature. The code adds an additional slash to it.
There's a patch attached that will fix the issue.
Original issue reported on code.google.com by [email protected]
on 11 Apr 2013 at 6:27
Attachments:
What steps will reproduce the problem?
1. Begin with a Google spreadsheet that has more than 100 map entries with
latitude & longitude
2. Follow the wizard shown at
http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustomma
p.htm
2. View the map generated by the wizard and look for entries ranked 100 or
higher.
What is the expected output? What do you see instead?
For each of the entries in the spreadsheet, there will be a marker on teh map
with a number superimposed on it which corresponds to the rank for that entry.
All of the 1-digit or 2-digit rankings appear fine, but teh rankings that are
more than 2-digits long (such as entries ranked 100 or higher) are not
superimposed on the markers. Those entries simply show a marker, but with no
number on it.
Original issue reported on code.google.com by [email protected]
on 10 Nov 2011 at 7:02
Attachments:
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="The Hello World of Mapplets"
description="Displays a Hello World message on the map!"
author="Your name"
author_email="[email protected]"
height="150">
<Require feature="sharedmap"/>
</ModulePrefs>
<Content type="html"><![CDATA[
<h2>Hello World!</h2>
<script>
// Center the map in the Mediterranean and zoom out to a world view
var map = new GMap2();
var point = new GLatLng(37.71859, 6.679688);
map.setCenter(point, 2);
// Add a marker to the center of the map
var marker = new GMarker(point);
map.addOverlay(marker);
// Open a "Hello World" info window
var message = "Hello World!";
marker.openInfoWindowHtml(message);
</script>
]]></Content>
</Module>
Original issue reported on code.google.com by [email protected]
on 14 Jan 2010 at 11:09
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 8 Mar 2012 at 6:44
Attachments:
see http://gmaps-samples.googlecode.com/svn/trunk/markers/[[color]]/*
This is current set of marker-icons, it is limited to 100 icons per color.
Please increase this to 500 or more.
Original issue reported on code.google.com by [email protected]
on 7 Jun 2010 at 6:13
Hello All,
I need to load an XML file from a website.
I'm using
GDownloadUrl("sonHafta.xml", function(data) code and it works correctly.
but whem i'm trying to use
GDownloadUrl("http://www.koeri.boun.edu.tr/sismo/zeqmap/xmlt/sonHafta.xml"
nothing happens.
I'm very new at Google Maps developing
All Of Codes,
<script type="text/javascript">
function initialize() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.addMapType(G_PHYSICAL_MAP);
map.addMapType(G_SATELLITE_3D_MAP);
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(39.614495, 30.341861), 5);
map.enableGoogleBar();
GDownloadUrl("http://www.koeri.boun.edu.tr/sismo/zeqmap/xmlt/sonHafta.xml", function(data) {
var xml = GXml.parse(data);
var markers = xml.documentElement.getElementsByTagName("earhquake");
for (var i = 0; i < markers.length; i++) {
var latlng = new GLatLng(parseFloat(markers[i].getAttribute("lat")),
parseFloat(markers[i].getAttribute("lng")));
map.addOverlay(new GMarker(latlng));
}
});
}
}
</script>
Am I need some extra codes to load XML from another website?
I'm working at localhost right now.
Best Regards
Original issue reported on code.google.com by [email protected]
on 23 Nov 2011 at 10:36
Did anyone ever get the map type controls working with maps that can
switch to Earth? I did not see an example, but in my tests have seen some
odd behavior.
By default, I come up in hybrid mode and display the following map type
options in the map type control: "Map", "Satellite", "Hybrid", "Terrain",
and "Earth".
1) It seems like recently, maybe about the time I added the ability to add
the Google bar, the map comes up in the right size and then suddenly gets
a little taller. This might not be a problem, but when switching to Earth
view, you see the bottom part of the previous view.
2) After switching to Earth view, the map type control disappears. I have
been able to get it to reappear by calling some non-Earth type of
functions. However, when using GMenuMapTypeControl, the control does not
popup the "menu" and therefore does not let me switch views.
Original issue reported on code.google.com by [email protected]
on 26 Jul 2008 at 2:54
Hi All,
I have some KML files on my map.
My map has default maptypes like "Map","Satellite","Terrain","Hybrid" and
"Earth"
When i select maptype as "Earth", my KML files don't appear on the map.
So how can i fix this problem?
Thank you :)
Original issue reported on code.google.com by [email protected]
on 8 Feb 2012 at 5:51
Attachments:
What steps will reproduce the problem?
1. select "placemark" in the toolbar
2. select "line" or "shape" in the toolbar
3. click on the map
What is the expected output? What do you see instead?
I expect to start drawing a line or shape but instead a marker is added to
the map. Anyway, i can still draw the line or shape
What version of the product are you using? On what operating system?
i'm using r2122 on Windows XP
Please provide any additional information below.
I solved this by adding an attribute called 'selected'. This attribute is
set with the buttonId when the method select()is called. Then i check in
the function that's added to the map when the placemark button is pressed
that the selected tool is the correct one
hope it helps
Original issue reported on code.google.com by [email protected]
on 18 Jun 2008 at 7:15
The college-finder/main.js is expecting the Placemark's street address to
be in an <ExtendedData> tag, but instead in the .kml included in the
sample's /data directory the street address is in a <Description> tag.
i.e., the correct format is:
<ExtendedData>
<Data name="Address">
<value>
1000 E Victoria St, Carson, California 90747-0005
</value>
</Data>
</ExtendedData>
Thus there is a mismatch between the sample's source code and the sample's
data.
After adding the address to the .kml, the import was successful and the
college-finder sample code ran fine against the colleges.kml that was
imported (after setting the api_visible to true).
Original issue reported on code.google.com by [email protected]
on 13 Jan 2010 at 6:16
For college-finder/index.html, the documentation shows units of measureas
"m", "miles" or "km". In the SearchService.js however, only "miles" and
"km" are supported -- and using just "m" will not work.
From the comments:
* <li>radius {string}: A distance specified as '<number> <units>'
representing
* the distance from the specified address or latLng to search. Valid
* values for <units> are 'm', 'km', or 'miles'.
Note, the condition where (units == 'm') is not addressed in the following
code:
// Convert radius to meters.
if (units == 'km') {
radius *= 1000;
} else if (units == 'miles') {
radius *= 1609.344;
}
Original issue reported on code.google.com by [email protected]
on 28 Dec 2009 at 11:13
What steps will reproduce the problem?
1. enter http://gmaps-samples.googlecode.com/svn/trunk/demogallery.html
2. samples are not loaded.
Is the spreadsheet open for public read access?
Thanks
Original issue reported on code.google.com by [email protected]
on 30 Jan 2009 at 1:38
Try to check out
http://gmaps-samples.googlecode.com/svn/trunk/slides-mymaps-gdd2008/slides
under Windows.
Checkout fails when SVN is trying to write file "gdata:readonly"
You cannot use a colon in a filename on Windows. (Windows XP)
Original issue reported on code.google.com by [email protected]
on 21 Apr 2010 at 11:45
Would it be possible to get a sample of python code for uploading a KML
file to gmaps with python? As described in this press release?
http://googlegeodevelopers.blogspot.com/2010/03/uploading-your-data-using-maps-d
ata-api_30.html
I read the linked documentation showing how to construct the POST request,
but every request I make gets a 400: Bad request response; which makes it
very difficult to debug.
Original issue reported on code.google.com by [email protected]
on 12 Apr 2010 at 7:47
What steps will reproduce the problem?
1. Use TortoiseSVN to check out the source from svn/trunk
What is the expected output? What do you see instead?
---Should get a fully check out. Instead see error
...\svn\trunk\slides-mymaps-gdd2008\slides\gdata:readonly.tmp'
It appears the problem is caused by the file 'gdata:readonly'. That is not
a good file name on windows system so I suspect it may fail on all windows
based SVN client.
Is there way to use a different name for that file?
Original issue reported on code.google.com by [email protected]
on 24 Dec 2008 at 1:21
What steps will reproduce the problem?
1. Download from SVN /trunk/articles-android-webmap
2. Import workspace into eclipse
3. Run
All though this compiles and deploys to the Emulator (tested in API mode and
normal Android Mode) in every version of the API it crashes on the emulator;
and on my android phone (1.5);
The Application WebMapActivity (process com.google.android.examples.webmap)
has stopped unexpectedly. Please try again. [Force Close]
Original issue reported on code.google.com by pcdevils
on 27 Feb 2010 at 10:09
What steps will reproduce the problem?
1. Open http://gmaps-samples.googlecode.com/svn/trunk/poly/mymapstoolbar.html
in SAFARI
2. Choose draw polyline option
3. Start drawing polyline.
What is the expected output? What do you see instead?
The vertice of polyline should be placed at the centre of the aimer (cross) but
instead at gets
placed on the top left arrow end of the cross. However works fine when there is
hand in place of
the aimer(The problem only occurs in SAFARI not in IE or Firefox)
What version of the product are you using? On what operating system?
It occurs in all versions, however am currently using v2, but have tested on
v2.x too.
Please provide any additional information below.
I think it will occur with polygon too(haven't tested).
Original issue reported on code.google.com by [email protected]
on 24 Oct 2008 at 6:07
Added `type` field
Original issue reported on code.google.com by [email protected]
on 29 Mar 2014 at 6:39
Attachments:
What steps will reproduce the problem?
1. Go to
http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html
2. In search box enter "Dzona Kenedija" (no quotes or with Serbian characters
"Džona Kenedija") which is valid street name in Belgrade, Serbia
3. Observe result is not found
4. Now enter same name on cyrilic encoding "Џона Кенедија" and
Geocoding finds proper street and its Lat/Long
What is the expected output? What do you see instead?
Expected behavior would be that both Cyrillic and Latin encoding returns proper
value.
What version of the product are you using? On what operating system?
Not really important since it is online example of Google simple geocoding
Please provide any additional information below.
This is pretty much show stopper for developers who are for example developing
closest match. E.g. using Google geocoding I would like to enter my address and
based on that, from local database that holds Lat/Long information, I would
like to show marker on Google maps. If my address is Dzona Kenedija Google maps
will always return "not found" unless its written in Cyrillic.
Original issue reported on code.google.com by [email protected]
on 16 Jul 2011 at 11:51
Hello,
This is my code:
GDownloadUrl("proxy.php", function(data) {
var xml = GXml.parse(data);
var markers = xml.documentElement.getElementsByTagName("earhquake");
for (var i=0; i <= markers.length; i++) {
var name = markers[i].getAttribute("name");
var lokasyon = markers[i].getAttribute("lokasyon");
var mag = markers[i].getAttribute("mag");
var Depth = markers[i].getAttribute("Depth");
var latlng = new GLatLng(parseFloat(markers[i].getAttribute("lat")),
parseFloat(markers[i].getAttribute("lng")));
var marker = createMarker(latlng, name, lokasyon, mag, Depth);
map.addOverlay(marker);
In here, i need:
Insert the first row of XML and stop 5 seconds,
then insert the second row of XML and stop 5 seconds again,
and again, and again...
I have tried some codes like, settimeout(map.addOverlay(marker),5000); but the
codes didn't work or get the first data only.
So how can i run the "for loop" with some time intervals?
how can i insert the data after 5 seconds?
Sorry for my bad English.
Thanks a lot :)
Original issue reported on code.google.com by [email protected]
on 6 Dec 2011 at 9:31
In https://gmaps-samples.googlecode.com/svn/trunk/poly/puzzledrag.html we
always get the same list of 15 countries. If this list was random we could have
endless fun. =)
Original issue reported on code.google.com by [email protected]
on 1 Feb 2013 at 1:35
What steps will reproduce the problem?
1. I downloaded the source code. The route function is OK, but I can let it
drive.
What is the expected output? What do you see instead?
Ans: It should drive automatically, but it just stop.
What version of the product are you using? On what operating system?
Ans: Windows 8 and Chrome.
Original issue reported on code.google.com by [email protected]
on 3 Sep 2013 at 2:07
Attachments:
What steps will reproduce the problem?
1. Pasting in any of my spreadsheet keys here:
http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustomma
p.htm
2. Nothing happens
What is the expected output?
New code -
What do you see instead?
Loading...
What version of the product are you using? On what operating system?
I have been using this page
http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustomma
p.htm for a while with out issue... but now it seems stuck -
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 16 Jun 2010 at 12:49
What steps will reproduce the problem?
1. Zoom in
2. Markers disappear
3.
What is the expected output? What do you see instead?
Markers should remain
What version of the product are you using? On what operating system?
Linux
Please provide any additional information below.
I was using Google API 2.x so I changed to 2 and then also tried 3 and none
of these made a difference, but changing to 2.100 has fixed things. I
haven't tried other versions to see what version breaks it though.
Interestingly, I also make use of dragzoom_packed.js and zooming using this
never caused the markers to disappear.
Original issue reported on code.google.com by [email protected]
on 18 May 2010 at 7:40
The following code doesnot give the correct result...........
your database should be updated
<script type="text/javascript" src="http://www.google.com/jsapi?
key=ABQIAAAAp04yNttlQq-7b4aZI_jL5hQYPm-
xtd00hTQOC0OXpAMO40FHAxQMnH50uBbWoKVHwgpklyirDEregg"></script>
<script type="text/javascript">
var visitor_lat ;
var visitor_lon ;
var visitor_city ;
var visitor_region ;
var visitor_country ;
var visitor_countrycode;
if(google.loader.ClientLocation)
{
visitor_lat =
google.loader.ClientLocation.latitude;
visitor_lon =
google.loader.ClientLocation.longitude;
visitor_city =
google.loader.ClientLocation.address.city;
visitor_region =
google.loader.ClientLocation.address.region;
visitor_country =
google.loader.ClientLocation.address.country;
visitor_countrycode =
google.loader.ClientLocation.address.country_code.toUpperCase();
alert(visitor_country);
}
Original issue reported on code.google.com by [email protected]
on 23 Mar 2010 at 8:05
What steps will reproduce the problem?
1. Open up any of the examples
What is the expected output? What do you see instead?
Everything else seems to work fine other than get an [object error]
What version of the product are you using? On what operating system?
Newest version, Windows XP, IE6.
Please provide any additional information below.
None
Original issue reported on code.google.com by [email protected]
on 26 Jul 2008 at 2:46
Hi, I've taken the code generated by http://gmaps-
samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustommap.htm
and put it here http://www.citypubs.co.uk/citymap.html, this works in
Explorer 7, Mozilla Firefox 1, NetScape 8 and Safari 3.1 but not in
Opera. My Javascript skills are weak, but I think I've pinned it down to
this statement -
function cm_getJSON() {
// Retrieve the JSON feed.
var script = document.createElement('script');
script.setAttribute('src', 'http://spreadsheets.google.com/feeds/list'
+ '/' + param_ssKey + '/' + param_wsId
+ '/public/values' +
'?alt=json-in-script&callback=cm_loadMapJSON');
script.setAttribute('id', 'jsonScript');
script.setAttribute('type', 'text/javascript');
document.documentElement.firstChild.appendChild(script);
}
(I used windows.status = "debug - got this far" to try and show what the
Javascript was doing)
Anyone any ideas why Opera is not working correctly?
Original issue reported on code.google.com by [email protected]
on 27 Nov 2008 at 8:37
If you want a satellite or hybrid map, change the :
cm_map.setCenter(new GLatLng(XX,YY), 2);
in order to have
cm_map.setCenter(new GLatLng(XX,YY), 3, G_SATELLITE_MAP);
or :
cm_map.setCenter(new GLatLng(XX,YY), 16, G_HYBRID_MAP);
Original issue reported on code.google.com by [email protected]
on 5 Oct 2009 at 1:30
[deleted issue]
c:\
Original issue reported on code.google.com by [email protected]
on 9 Nov 2014 at 8:14
Attachments:
Hi, I have a problem about adding Google Maps on Flash AS3
Im trying to add Google Maps but it doesnt work on internet. My document(also
attached) is the same with Google's Tutorial that given at
https://developers.google.com/maps/documentation/flash/tutorial-flash
It works locally but in my web site.
http://www.yudumozkan.com/MapSimple.html
This is the link. Im creating API key referrer to http://www.yudumozkan.com and
also tried
http://yudumozkan.com
http://*.yudumozkan.com/*
etc.
Can you help me please?
Thank You,
Yudum
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 6 Jun 2012 at 10:29
Attachments:
Hi all,
I am trying to display two custom images url from two fusion tables on google
map but unable to do this attached file is here if anyone have solution please
provide me valuable guide.
Thanks to all
Original issue reported on code.google.com by [email protected]
on 4 Jun 2014 at 12:09
Attachments:
What steps will reproduce the problem?
1. download mymapstoolbar.html
2. change v=2 to v=2.x
3. click line_b button to start polyline.
4. place 3 or more line vertex.
Problem appears after last update to 2.176:
http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIChangelog
What is the expected output? What do you see instead?
Expected: Line must lay from previous vertex to the next.
Instead: Line with first two vertex are OK, but then vertex appears, but
line did'n lay on its place.
What version of the product are you using? On what operating system?
Linux/Windows. Firefox 3.0/3.5. IE 5, etc.
Original issue reported on code.google.com by [email protected]
on 3 Oct 2009 at 10:56
Attachments:
The Google Docs Atom creates a 44 character Worksheet Key, but mapping limits
the length to
43 characters
So... i doesn't take the last character and thus doesn't load the data to map it
Here's most of the URL
http://gmaps-
samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustommap.htm?
The source code Click "Load Worksheet Data"
input type="text" id="ssKey"
size="44" maxlength="43" value="o16162288751915453340.4402783830945175750"/>
Original issue reported on code.google.com by [email protected]
on 6 Jun 2010 at 3:05
I use your great clusterer to show markers but got a problem if I add
svoverlay to show streetview.
I can't click on markers because they are under the overlay and aren't
accessible...
Is there a workaround to avoid this?
Original issue reported on code.google.com by [email protected]
on 22 Sep 2009 at 11:37
http://gmaps-
samples.googlecode.com/svn/trunk/streetview/streetview_layer.html
What steps will reproduce the problem?
1. Click on the marker to open info window with street view
2. Change the direction and see the marker rotate
3. Move the street view a block using the arrow key, notice the marker
does not move.
What is the expected output? What do you see instead?
Marker should move, but it stays put.
What version of the product are you using? On what operating system?
Latest version. Tried on Windows XP and SLES10.
Please provide any additional information below.
Change log below:
- GEvent.addListener(panorama, "newpano", onNewLocation);
+ GEvent.addListener(panorama, "initialized", onNewLocation);
- function onNewLocation(lat, lng) {
- var latlng = new GLatLng(lat, lng);
- marker.setLatLng(latlng);
+ function onNewLocation(location) {
+ marker.setLatLng(location.latlng);
}
Original issue reported on code.google.com by [email protected]
on 26 Jul 2008 at 2:42
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="The Hello World of Mapplets"
description="Displays a Hello World message on the map!"
author="Your name"
author_email="[email protected]"
height="150">
<Require feature="sharedmap"/>
</ModulePrefs>
<Content type="html"><![CDATA[
<h2>Hello World!</h2>
<script>
// Center the map in the Mediterranean and zoom out to a world view
var map = new GMap2();
var point = new GLatLng(37.71859, 6.679688);
map.setCenter(point, 2);
// Add a marker to the center of the map
var marker = new GMarker(point);
map.addOverlay(marker);
// Open a "Hello World" info window
var message = "Hello World!";
marker.openInfoWindowHtml(message);
</script>
]]></Content>
</Module>
Original issue reported on code.google.com by [email protected]
on 14 Jan 2010 at 11:06
This patch adds the access_type=offline parameter to the authenticating url
which will return the access token and refresh token. Without this patch, only
the access token is returned.
Original issue reported on code.google.com by [email protected]
on 13 Nov 2012 at 2:35
Attachments:
What steps will reproduce the problem?
1. compile the program
2. run the program
What is the expected output? What do you see instead?
expected coded signed value
What version of the product are you using? On what operating system?
0.9 on Windows Vista for Java 1.7.
Please provide any additional information below.
1) encodeBytes => no longer exists
2) this.key = Base64.decode(keyString); => err: 47
3) can't find Base64 for imports given. Three others found did not work either
see link of source:
http://gmaps-samples.googlecode.com/svn/trunk/urlsigning/UrlSigner.java
Original issue reported on code.google.com by [email protected]
on 10 Dec 2011 at 11:28
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.