Geo Chart Specific Province or Crop Function

1,314 views
Skip to first unread message

Henrique Vilela

unread,
Oct 21, 2014, 10:12:55 AM10/21/14
to google-visua...@googlegroups.com
Hi,

I'm trying to display data about cities in a specific Brazilian province. To to this I'm using { region: 'BR', resolution: 'provinces', displayMode: 'markers' }
The problem is that all the points are concentrated in a small area of the map (attached image).

There's a way to select a specific province or to "crop" de map to focus on the real data?
Captura de Tela 2014-10-21 às 12.07.26.png

Sergey Grabkovsky

unread,
Oct 21, 2014, 10:23:59 AM10/21/14
to google-visua...@googlegroups.com
Hi, there's no way to recrop the map to be exactly what you want. For some countries, we generate province-level maps, but it appears that Brazil is not one of those countries. Please file a bug against this, this as it would be good to have these maps.

--
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/d/optout.

Henrique Vilela

unread,
Oct 21, 2014, 10:37:46 AM10/21/14
to google-visua...@googlegroups.com
Thank you for your fast answer.

I just wan’t to be sure that my needs are clear.
I don’t need a different map, all that I need is to “zoom in” to avoid the empty space around the data, without adding any kind of "level of detail".

Even this is not possible with Google GeoChart?

Would you recommend any alternative? Google Maps, maybe?


You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/_qEQw_nowwU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

Sergey Grabkovsky

unread,
Oct 21, 2014, 10:40:22 AM10/21/14
to google-visua...@googlegroups.com
Actually, come to think of it, the Map visualization is much better suited for these kinds of charts.

Henrique Vilela

unread,
Oct 21, 2014, 10:56:49 AM10/21/14
to google-visua...@googlegroups.com
I don’t think so.
It will add complexity to a simple task, and I will lose automatic features like the color values and the color legend that I’ll have to implement.
GeoChart is perfect to solve my problem, except by this little missing feature.

Sergey Grabkovsky

unread,
Oct 21, 2014, 11:14:39 AM10/21/14
to google-visua...@googlegroups.com
Ah, well in that case, I don't think we have a solution for you. The right thing would be for us to provide a province-level map for BR-RS, and then that province would effectively be the only region on the map, but as I said, this region is not available, and there's no way to change the bounding box of the currently displayed region.

Henrique Vilela

unread,
Oct 21, 2014, 11:17:33 AM10/21/14
to google-visua...@googlegroups.com
Got it.
Thank you so much for your time.

Anyone with an alternative simpler than recreate the pins with color and size based on the value and legend over Google Maps, please let me know. :)

Venu Bandi

unread,
Jun 20, 2016, 3:27:17 PM6/20/16
to Google Visualization API
Hi Sergey,
Is this possible to set a bounding box for other countries like USA on Geo Chart? Ex: display only North east states etc. Please advise. Thanks!


On Tuesday, October 21, 2014 at 10:14:39 AM UTC-5, Sergey wrote:
Ah, well in that case, I don't think we have a solution for you. The right thing would be for us to provide a province-level map for BR-RS, and then that province would effectively be the only region on the map, but as I said, this region is not available, and there's no way to change the bounding box of the currently displayed region.

On Tue Oct 21 2014 at 10:56:47 AM Henrique Vilela <henriqu...@gmail.com> wrote:
I don’t think so.
It will add complexity to a simple task, and I will lose automatic features like the color values and the color legend that I’ll have to implement.
GeoChart is perfect to solve my problem, except by this little missing feature.

Em 21/10/2014, à(s) 12:40, 'Sergey Grabkovsky' via Google Visualization API <google-visua...@googlegroups.com> escreveu:
Actually, come to think of it, the Map visualization is much better suited for these kinds of charts.

On Tue Oct 21 2014 at 10:37:45 AM Henrique Vilela <henriqu...@gmail.com> wrote:
Thank you for your fast answer.

I just wan’t to be sure that my needs are clear.
I don’t need a different map, all that I need is to “zoom in” to avoid the empty space around the data, without adding any kind of "level of detail".

Even this is not possible with Google GeoChart?

Would you recommend any alternative? Google Maps, maybe?


Em 21/10/2014, à(s) 12:23, 'Sergey Grabkovsky' via Google Visualization API <google-visua...@googlegroups.com> escreveu:

Hi, there's no way to recrop the map to be exactly what you want. For some countries, we generate province-level maps, but it appears that Brazil is not one of those countries. Please file a bug against this, this as it would be good to have these maps.

On Tue Oct 21 2014 at 10:14:01 AM Henrique Vilela <henriqu...@gmail.com> wrote:
Hi,

I'm trying to display data about cities in a specific Brazilian province. To to this I'm using { region: 'BR', resolution: 'provinces', displayMode: 'markers' }
The problem is that all the points are concentrated in a small area of the map (attached image).

There's a way to select a specific province or to "crop" de map to focus on the real data?

--
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-visualization-api+unsub...@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/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/_qEQw_nowwU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@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/d/optout.

--
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-visualization-api+unsub...@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/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/_qEQw_nowwU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@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/d/optout.

--
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-visualization-api+unsub...@googlegroups.com.

Yousef El-Khalili

unread,
Jun 22, 2016, 11:26:22 AM6/22/16
to Google Visualization API, henriqu...@gmail.com
You can add a magnifying glass feature which when you hover over that area it will magnify it. 
Just add this in your options 

magnifyingGlass : {enable: true, zoomFactor: 7.5}
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@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/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/_qEQw_nowwU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@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/d/optout.

--
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-visualization-api+unsub...@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/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/_qEQw_nowwU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@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/d/optout.

--
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-visualization-api+unsub...@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/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/_qEQw_nowwU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages