Gotcha,

That is the category slug, I'm just using it for filtering purposes. I'll 
rearrange the data and see how that works. Thank you!

On Wednesday, October 8, 2014 3:31:14 PM UTC-4, Sergey wrote:
>
> Hi, the GeoChart uses the first column for geocoding, not the second 
> column. I'm not sure what prompted you to enter 'san-francisco-2', but 
> changing it to 'san-francisco' seems to fix the problem. You should enter 
> descriptive locations in the first columns, and what you want to display in 
> the second column.
>
> On Wed Oct 08 2014 at 3:08:55 PM mctenold <[email protected] <javascript:>> 
> wrote:
>
>> For some reason on a site I'm working on, "San Francisco" is placing a 
>> marker in Louisiana in a Google GeoChart Visualization. I've even tried 
>> changing it to "San Francisco, CA", and even "San Francisco, CA, USA" and 
>> it's still plotting it in Louisiana.
>>
>> You can see the incorrect marker here: http://galmeetsglam.com/travel/
>>
>> Part of my code:
>>
>>     var data = new google.visualization.DataTable();
>>  data.addColumn('string', 'Slug');
>> data.addColumn('string', 'City'); 
>> data.addColumn('number', 'Value');
>> data.addColumn({type: 'string', role: 'tooltip', p:{html:true}});
>>  /* Locations */
>> data.addRows([
>>     ['london', 'London', 1, '<h1 class="tooltip-h1">London</h1>'],
>> ['london', 'London', 1, '<h1 class="tooltip-h1">London</h1>'],
>> ['new-york-city', 'New York City', 1, '<h1 class="tooltip-h1">New York 
>> City</h1>'],
>> ['san-francisco-2', 'San Francisco', 1, '<h1 class="tooltip-h1">San 
>> Francisco</h1>'],
>> ['san-francisco-2', 'San Francisco', 1, '<h1 class="tooltip-h1">San 
>> Francisco</h1>'],
>> ]); 
>>
>> The odd part is other cities are plotting just fine (London and NYC). Not 
>> sure why SF is being screwy.
>>
>> Any ideas?
>>
>> -- 
>> 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 [email protected] 
>> <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to