Is there any way to embed custom parts into a google doc? I know you can do extensions and format the doc certain ways, but what about something more advanced. What I'm looking for is something closer to semantic media wiki, but with all the awesomeness that is google docs.
for instance to have data inline [[Property name::property value]] , but displayed as property value
inline queries like this , which are display/updated as a table
{{#ask:
[[Category:City]]
[[Located in::Germany]]
|?Population
|?Area#km² = Size in km²
}}
I know the first response, why not use ThisWiki or ThatWiki, and the problem is google docs is better (far better) at formatting, printing, etc which is where most people are comfortable, but several folks would like something more expressive and "computable". Also, we want one system.
MKLocalSearchRequest requires a natural language query to get local places (e.g. "Coffee").
Is there a way to get it to return a list of all places within the specified region?
Alternatively is there an API that does this?
Or will I need to make multiple requests ("coffee", "bar", etc.) and include a search function the user can use if we haven't retrieved the place they're looking for?
Try using MKLocalSearchCompleter its better and it reacts to user input rather than plain queries like coffee / bar plus it will take region to limit your search area as well.
Here is the link to documentation - https://developer.apple.com/library/ios/documentation/MapKit/Reference/MKLocalSearchCompleter_class/
I'm trying to add custom functionality to my map where a user can filter out certain markers. Using simple jquery, I am to just find the marker using css selectors and do something like:
$('.marker').hide()
This works fine...however, when I zoom out, the marker is still considered there in the marker cluster count. I want to adjust the count to take into account that I hid the marker.
Any help would be appreciated. I'm not even sure how to access the marker cluster object as documented here:
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/docs/reference.html
Do I do something like:
handler.getCluster()
Thank you for your help!
I dont really understand your jQuery stuff here for google map markers...
You should use the existing methods on the objects returned by the addMarker(s) method:
.show()
.hide()
Anyway, to answer your primary question:
handler.clusterer
as usual the googleObject is available:
handler.clusterer.getServiceObject()
I've been using SimpleGeo for doing some of my place data queries for a location-based app I'm building. They currently use Factual's data set. From what I can tell, there is no way to do partial text queries on place data, probably because of limitations on Factual's end.
The kind of query I mean is that "Starb" would return results for Starbucks in an auto-complete.
Testing out Google Places API yields the same results. Querying "Bullf" for Bullfrog Brewery near Williamsport, PA turns up nothing. Querying "Bullfrog" yields the correct result.
Do any geolocation/place APIs support this kind of partial keyword query?
Google Places does have an Autocomplete API that will return results based on partial keyword queries.
You can view the documentation here:
http://code.google.com/apis/maps/documentation/places/autocomplete.html
Also there's a demo and a blog post about the Places API with Autocomplete here:
http://googlegeodevelopers.blogspot.com/2011/05/places-everybody-show-is-about-to-begin.html
In a desktop Qt application, I have some GPS coordinates that I'd like to show on a map. My plan is to construct an URL with the coordinates and let a web browser and Google maps or a similar service do the heavy lifting.
After reading some apparently reverse-engineered documentation at
mapki.com slash wiki slash Google_Map_Parameters
I can make it work for a single point, but what's the URL syntax for multiple points?
My best shot so far is to build a string such as this:
http://maps.google.com/?ie=UTF8&q=My+First+Point#59.591,17.82&q=My+Second+Point#59.592,17.82
but that will only show "My Second Point". Is there a better description of the syntax somewhere?
Replacing q= with markers= did not work and the "static map" suggestion below only complained about an incorrect API key.
for google maps static there is this URL:
http://maps.google.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=14&size=512x512&maptype=roadmap
&markers=color:blue|label:S|40.702147,-74.015794&markers=color:green|label:G|40.711614,-74.012318
&markers=color:red|label:C|40.718217,-73.998284&sensor=false&key=MAPS_API_KEY
Detailed version:
http://maps.google.com/maps/api/staticmap?
center=Brooklyn+Bridge,New+York,NY
&zoom=14
&size=512x512
&maptype=roadmap
&markers=color:blue|label:S|40.702147,-74.015794
&markers=color:green|label:G|40.711614,-74.012318
&markers=color:red|label:C|40.718217,-73.998284
&sensor=false
&key=MAPS_API_KEY
i am not sure if this syntax is also good for standard maps
http://staticmapmaker.com/ - very nice web tool for generating static map urls.
List of currently supported map services:
- Google
- Bing
- Yandex
- HERE
- Mapbox
- MapQuest
- CartoDB
p.s. I know this is an old question, but many still google for it.
Throwing parameters at maps.google.com only gets you one point.
As dusoft says, you could use Google Static maps.
Or, if you require dynamic maps, you could write your own public web page that uses Google Maps API and accepts a long list of parameters. Use your own web page in exactly the same way that you were intending to use maps.google.com web page, except that you get to design what you want the parameters to look like.
Perhaps something like this.
Several parameters (such as the markers and path parameters) take multiple locations. In those cases, the locations are separated by the pipe (|) character.
https://maps.googleapis.com/maps/api/staticmap?center=boca+raton,+fl+|+deerfied,+FL&zoom=12&scale=false&size=600x300&maptype=roadmap&sensor=false&key=API_KEY&format=png&visual_refresh=true&markers=size:mid%7Ccolor:red%7Cboca+raton,+fl+|+deerfied,+FL" alt="Google Map of boca raton, fl | deerfied, FL
I know that you specifically asked for Google Maps, however I came up with a solution using Bing Maps:
https://bing.com/maps/default.aspx?sp=point.48.858303_2.3499404_Eiffel%20Tower~point.48.8530067_2.3499404_Notre-Dame%20Cathedral~point.48.8605088_2.3376727_Louvre link
The sp parameter can define a list of points, polylines, polygons and addresses. Multiple objects are separated by ~.
The syntax for point is:
point.latitude_longitude_titleString_notesString_linkURL_photoURL
titleString is displayed in the map and notesString only when clicking on a point.
A Link with you coordinates would look like:
https://bing.com/maps/default.aspx?sp=point.59.591_17.82_P1~point.59.592_17.82_P2 link
I did some tests on how many of these points can be in a URL by generating a really long URL in the form of https://www.bing.com/maps?sp=point.10.000000_10.000000_0~point.10.000000_10.01_1~point.10.000000_10.02_2~point.10.000000_10.03_3... and it seems up to about 150 points are working.
Documentation:
Microsoft Documentation: Create a Custom Map URL