geoChart projections

817 views
Skip to first unread message

Alvaro Fernández Seco

unread,
Oct 16, 2013, 7:22:59 AM10/16/13
to google-visua...@googlegroups.com
Hello, 

I am trying to change the default projection (Mercator) GeoCharts uses for any other which respects area sizes, like Gall-Peters.

After a few attempts, I found that only 2 works:
projection: 'albers',
//projection: 'mercator',

Do anyone knows any other available projection? (Docs doesn't say anything about them).

PS. I found this old post about the same topic. Anything new about this?

Regards.

Sergey Grabkovsky

unread,
Oct 16, 2013, 9:44:21 AM10/16/13
to google-visua...@googlegroups.com
Hello, the projections feature is still not quite polished in some cases, which is why it hasn't been announced yet. We currently support 4 projections: 'mercator', 'albers', 'lambert', and 'kavrayskiy-vii'. The 'albers' and 'lambert' projections also support options to specify parallels and the origin. You can do this by specifying the projection as an object, like so:
projection{
      name'lambert',
      parallels[2356],
      origin{
        lat45,
        lng0
      }
    }

- Sergey


--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Alvaro Fernández Seco

unread,
Oct 17, 2013, 2:14:55 AM10/17/13
to google-visua...@googlegroups.com
Thanks Sergey.

Reply all
Reply to author
Forward
0 new messages