Google maps API v3 - Gray out or remove states? - google-maps-api-3

Is it possible to either gray out, or even better remove all together, states I do not want to see from the map? Not able to find any clear answers on this when searching. I am attempting to show just a map of Texas and place markers on it.
Thanks!

Are you looking for something like this (v2) example by Marcelo?
Here is a v3 example using FusionTables
You can also do the same thing with KmlLayers

Related

Need to outline several contiguous areas on map

I am working with maps that are based upon the lot and block survey system. So, for example, my house could be a parcel identified by block 34, lot 2. For every block, there are usually multiple lots and they are all within the same contiguous area. My users can query for block and lot, and the map will zoom in and display that exact block/lot and outline it. What they want to do is to show all lots for a specified block and draw an outline around the entire block.
I can use the JavaScript API and QueryTask execute() method to get all of the lots/features for a block. However, I do not know if there is a way to aggregate the feature data such that I can calculate and draw a border surrounding them all.
I have tried the executeForExtent() method and it works, but the extent, of course, is a rectangle, which means that while the outline will encompass all of the lots, the edges will have partials of other blocks and lots.
I know it's possible because I have seen it, but I do not have access to that code or the folks who developed it.
Does anybody know of a way to create an outline such as the one I'm describing?
TIA
I think you're looking for a way to calculate a convex hull which you can do with the geometry engine in the ArcGIS API for JavaScript. See https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#convexHull
Update: or maybe better the union method as suggested by #cabesuon in a comment below. Same basic principle - use the GeometryEngine :)

extracting polygon from googlemaps URL

How can I read the polygon from a search result like this:
https://www.google.ca/maps/place/Joliette,+QC/#46.0108031,-73.4916076,12z/data=!3m1!4b1!4m5!3m4!1s0x4cc8bdb99340567b:0xc6448884fc5822a6!8m2!3d46.014012!4d-73.4177961
Should I use a layer in my map? Or use the map.Data ?
I know there is a google: libraries=places but I cannot see how to use it.
Is Google actually forbidding us to read their precious database?
What's the use of a such a API if we cannot do such a simple thing!
I saw at least 2 posting from guys wanting to do exactly the same thing!
Thanks in advance
Francois
You cannot get polygons for map features via Google APIs.
Actually, there is a feature request for this in the public issue tracker:
https://code.google.com/p/gmaps-api-issues/issues/detail?id=109
However, it doesn't look like this has a priority.

How to get a openlayers picture without labels?

I would like to have a map from our earth like in openstreetmap / openlayers with the standart map type, but I only want to have the houses, streets and underground, but no letters/numbers/texts
Is there a way to get this map with one link? normally it would be of the form http://a.tile.opencyclemap.org/cycle/[zoom]/[x]/[y].png
Thanks for useful answers :D
PS: Google doesn´t work for me, because I want to ask frequently and very often (>10k)
You're probably looking for the OSM-no-labels layer on the Wikimedia server, see https://help.openstreetmap.org/questions/40664/how-to-hide-all-labels-of-osm for details.
Example image: http://a.tiles.wmflabs.org/osm-no-labels/14/8534/5530.png
NB. Your requirement to "ask frequently and very often" probably will interfere with the usage policy of said server and will likely get you banned very soon.

Google Places API : adding places

Looks like no places on Israel's map. I'm interested to add places to it. After checking Google Maps API v3 and Google Places as I understood there is no possibility like that,
so my question is if there any possibility to join Google and help adding places in Israel?
Thank you!

a.coord[jc] is not a function

Does anyone know why I might get the following error in Google Maps API V3?
a.coord[jc] is not a function
I am updating from v2 and I get the error when placing certain markers on the map... The marker objects all appear to be similar enough to make this work, but some cause this error.
Thanks.
We need more code than that. Please supply all the code you are using to create and access the marker.
Also V3 is very different to V2 so you will not be able to use the same code.

Resources