Sometimes I have to put text on a path

Saturday, November 12, 2011

Turn up the power of your Fusion Tables with Dynamic Styling; google maps

Fusion Tables allows you to share large tables of spatial data and render them on a map in a way that performs consistently well across all browsers, on desktop and mobile. The way in which the data is styled on the map, the markers used for points, the colours and stroke widths used for polylines and polygons, can be defined by the owner of the table in the Fusion Tables application, or using the newFusion Tables Styling and InfoWindows API. However only the owner of the table can define the styling in this way, and styling for any single table is fixed.

At Google I/O we introduced Dynamic Styling of Fusion Tables layers. This allows the styling rules used for displaying a table in a Maps API application to be defined from JavaScript, and changed dynamically. For example you can use this to switch between rendering different data sets in the same table, or giving users control over which subset of the data is highlighted, as in the below example based on a public table of Chicago Homicides data:

In order to ensure the continued reliability of the Fusion Tables layer, we are also introducing some limits on the number of layers that can be used, and the complexity of styling. The Maps API now permits up to five Fusion Tables layers to be added to a map, one of which can be styled with up to five styling rules.
For information and code samples of how to apply dynamic styling to Fusion Tables, see our documentation, and for further assistance I recommend the Google Maps JavaScript API V3 forum. It’s great to see the creative ways in which Fusion Tables Layer is being used, and we hope this new flexibility will drive even more inspiring and informative Maps API applications.


Ref: http://googlegeodevelopers.blogspot.com/search?updated-max=2011-05-26T12%3A42%3A00-07%3A00&max-results=7

A map published by the Guardian that uses Google Fusion Tables

http://www.guardian.co.uk/news/datablog/2011/mar/23/fco-travel-advice-map

The U.K. Foreign & Commonwealth Office regularly issues travel advice for British citizens on the safest places to travel. Before you plan your next vacation, it might be worthwhile checking this map published by the Guardian that uses Google Fusion Tables to map out advice from the FCO. This map provides a fascinating snapshot of world travel.

You can download the full data
DATA: download the full spreadsheet from Google Fusion tables

a Great Map for Travelers (U.K. campers); google maps

http://www.pitchup.com/
Pitchup.com is a project to help U.K. campers find campsites or attractions and share reviews. The site has a wide range of tools to help your zero in on what you’re looking for. There are search tools for camping options (lodges, tents, trailers, etc.), layers of nearby photos and videos from Panoramio and YouTube, detailed information about each campsite, and much much more.

blogger, google maps, geoblogs: a "gadget" that maps your posts; BlurbBits

Right now users of Blogger  can geotag their posts.
We need a gadget that maps our posts. 


Here a solution without the "add location" function.

See http://svbillabong.blogspot.com for a dynamic geoblog map example, interactive maps are also available through menu selection at the top.
http://blurbbits.blogspot.com 


I have not developed a standard XML gadget YET and you've been copied on the many reasons that I think that generating a blog based interactive sidebar map gadget is a REALLY bad idea. My mapping
solutions can be seen in the blog link mentioned above (http://svbillabong.blogspot.com).. both interactive blog navigation maps (could be a sidebar gadget link) and the geoblog dynamic maps (both sidebar "Geoblogs on this page" gadget maps and popup versions).
----------

BlurbBits (an introduction)

Sharing your travel adventures can be a time consuming experience. Writing updates, journals, editing/organizing and selecting photos/videos, adding captions, mapping locations, tracking your travels and then formatting them all for a website, blog or email can sometimes become overwhelming. We've been Sailing for 5 years and have over 25,000 photos, 30,000 miles of GPS tracks, blogs, websites and videos, so we understand the need/importance of easy to use methods for sharing your travel adventures.

BlurbBits is a FREE set of utilities designed to help ease the entire process, while providing easy to share viewing/mapping options even while you are disconnected from the internet (95% of our Sailing Blog posts were emailed). We are trying to revolutionize self published Travel Blogs, Sailing Blogs, and Photo blogs by using existing best in class functionality (Blogger, Google Maps, Picasa, Flickr, YouTube etc).
Spend your time sharing the moments, not formatting them.


http://blurbbits.blogspot.com/2009/01/blogger-travel-blogs.html

---------
BlurbBits can be added to a website, blog post or sidebar and emailed or linked into existing sites and social networks to optimize your sharing options.

To see BlurbBits in action visit svbillabong.blogspot.com. To learn more check outBlurbBits basics, our getting started overview or if you are already familiar with Blogger, the geoblogging process, if you can send an email.. you can blog and map!! Update: the easiest way to get started with Blogger is to add the Dynamic GeoBlog gadget and addLat/lng text to the Blog posts you want to map, we'll take care of the rest. Check out our utilties and other examples.


If you use Blogger you may already know about the Mail-To-Blogger interface. We write 95% of our blogs this way. We use a lat/lng string to define our location and can even send a small (250x250) photo if the email utility supports attachments (this gives people an update, a location map and optional photo).

Forum:
https://groups.google.com/group/bloggerdev/search?group=bloggerdev&q=geo*&qt_g=Search+this+group

Google Data client libraries are available to help you write client applications that use the Blogger Data API

http://code.google.com/apis/blogger/code.html


For each language, the client library provides tools and an abstraction layer, letting you construct queries and use response data without having to create HTTP requests or process HTTP responses by hand. Each client library provides classes that correspond to the elements and data types that the API uses. Each client library also provides extensions for specific Google services that have Data APIs.





JavaScript client library

The JavaScript client library provides full read/write capabilities from within JavaScript. Read-only access is also available via raw JSON.

Secrets of the Google Geo APIs: a google presentation (59 slides)

http://oa-samples.googlecode.com/svn/trunk/presentations/io-2011/index.html#2


JavaScript Google Maps API is optimized for both desktop and mobile browsers

N°8
http://oa-samples.googlecode.com/svn/trunk/presentations/io-2011/index.html#8


Desktop                          Mobile
Internet Explorer 7+ Android
Firefox 3+                 Safari (iOS)
Safari 4+                         Blackberry 6
Chrome                         Dolfin 2+

45° imagery with OverviewMapControl
http://oa-samples.googlecode.com/svn/trunk/presentations/io-2011/index.html#12

Marker animations, n°14
Layers, n°16
GeoRSS  KML  Traffic  Bicycling  Panoramio

Draggable directions, N°18


Street View: Overlays, N°21


Libraries: AdSense, N°27
How to add ads on a map!


Earth API, N°31


Fusion Tables, N°35
FusionTablesLayer in v3 (toggle between HeatMap and other views)


Earth elevation at points or along a path, N°41


Route optimization, N°44

Bicycling directions



SSL for everyone, N°48
Anyone can send SSL-protected web service requests



Static Maps API, N°50
Map image without interactivity

Google Fusion Tables and geospatial data; managing-and-visualizing-your-geospatial-data-with-fusion-tables

Google Fusion Tables (https://www.google.com/fusiontables) is a modern data management and publishing web application that makes it easy to host, manage, collaborate on, visualize, and publish data tables online. Fusion Tables allows for import of geospatial data to quickly and easily display that data on a Google Map.

The Fusion Tables team has been working hard to enrich what Fusion Tables offers for customization and control of the Google Map visualizations. Two very exciting announcements were made at Google I/O during the Fusion Tables session on Managing and visualizing your geospatial data with Fusion Tables (http://www.google.com/events/io/2011/sessions/managing-and-visualizing-your-geospatial-data-with-fusion-tables.html). These announcements include the release of the Info Window and Styling in the Fusion Tables API and Fusion Table Styling in the Google Maps API.


Fusion Tables Styles in the Google Maps API


http://code.google.com/apis/maps/documentation/javascript/overlays.html#fusion_table_styles


Fusion Tables Styles further increases the possibilities of map customization. Rather than applying a style to a table via the API or UI, styling can now be introduced on the client side using the Google Maps API. There are many benefits to Fusion Tables Styles:
It allows for dynamic styling of map features.
It’s opens up the possibility for styling tables with multiple attributes.
You can give your users the opportunity to decide what range of styles works best for your data.
Third party developers can now generate visualizations of your data that differ from your own, which makes sharing your data more powerful and useful.
Fusion Tables styles are available now! Read more about how to use Fusion Tables Styles in the Fusion Tables Layer section (http://code.google.com/apis/maps/documentation/javascript/overlays.html#FusionTables) of the Google Maps API documentation.

Simon Rogers, who joined us for the Fusion Tables I/O session to talk about how the UK Guardian Datablog uses Fusion Tables, has been making great use of Fusion Tables Styles.
Here’s one of the Guardian’s latest examples (http://www.guardian.co.uk/news/datablog/interactive/2011/jun/30/uk-population-mapped).
If you’re interested in creating a map similar to the Guardian’s, we have developed a template for plug-and-play (http://gmaps-samples.googlecode.com/svn/trunk/fusiontables/dynamic_styling_template.html).



Ref.
http://googlegeodevelopers.blogspot.com/2011/07/geo-apis-summer-learning-series.html

bikemap.net: a very good application of Google elevation API.

Map your favorite tracks - or find new route ideas. For training, holidays or excursion planning. Currently there are 587,606 Bike routes (DATA@nov 2011). 
http://www.bikemap.net/#lat=-31.35364&lng=-158.20312&zoom=1&type=2

Bikemap.net, built by Toursprung from Austria and Germany, allows cyclist to view and share bicycling routes from all over the world. Users can rate routes, mark their favorites, send the GPS coordinates to a mobile device, suggest changes to routes, and even share the routes on social media sites. Each route includes details about the distance, surfaces, and difficulty. To help cyclists better understand the terrain the site has an interactive elevation bar.

Google Elevation API

Example: http://www.bikemap.net/route/489685#lat=45.24395&lng=4.42268&zoom=12&type=2

map public data using Fusion Tables (google maps); case studies; Geo Developers at Google I/O 2011; location-based gaming using the Latitude API to tools for citizen journalists to map public data using Fusion Tables

From Geo Developers at Google I/O 2011 (July)

The developer sandbox featured eight Geo API partners who engaged directly with I/O attendees. Joining us in the sandbox were HistoryPin, Icon Fitness, Ubisense, The Wall Street Journal, Footprint Feed, The Bay Citizen, Arc2Earth, and Travel Game. The apps on display ranged from location-based gaming using the Latitude API to tools for citizen journalists to map public data using Fusion Tables. You can learn more about two of our sandbox partners in these video case studies:

The Bay Citizen (video) - The Bay Citizen explains the benefits of the Fusion Tables layer with Google Maps API to build infographics for their online newspaper. 


The Bike Accident Tracker visualizes the prevalence of bike accidents across San Francisco.


http://www.baycitizen.org/data/bike-accidents/



Interactive Polyline Encoder Utility; google maps

Polylines in Google Maps are formed as a set of latitude/longitude pairs. In addition, for each vertex (location) in an encoded polyline, a level can be specified indicating that the location should appear on that level and any level higher (i.e. any decrease in zoom.).

If a location does not appear on a given level, then the line will go from the last visible location to the next visible location. Note that the first and last locations must be Level 3 points, otherwise the polyline won't display on all levels.

You can use this interactive utility to compute the encoding for a polyline.

1. Click on the map to place the first location of your polyline. You may drag the marker to adjust the location of the location.
2. If necessary, specify the appropriate level for the location in the "Min zoom level" field.
3. Click the "Add Location" button to add it to the Locations List.
4. Repeat for each location of your polyline.
5. The polyline encoding will appear in the Encoded Polyline and Encoded Levels fields below. Use these values for locations and levels when you create your google.maps.Polyline.


http://code.google.com/apis/maps/documentation/utilities/polylineutility.html