Well, currently, Geomap only supports Metro areas in markers data mode

 Badtnik.

On Thu, Jul 8, 2010 at 5:05 AM, mossadacity <[email protected]> wrote:

> Hello all,
>
> I'm trying to make a GeoMap using metropolitan area codes. (
>
> http://code.google.com/apis/adwords/docs/developer/adwords_api_us_metros.html
> )
>
> However, I can't get it to take these as an input. (ex. 807 for Bay
> Area)
>
> Partial example below (edited from 2nd example at
>
> http://code.google.com/apis/visualization/documentation/gallery/geomap.html#Example
> )
>
>
>      data.addColumn('string', 'Metro');
>      data.addColumn('number', 'Popularity');
>      data.setValue(0, 0, '807'); // SETTING METRO CODE
>      data.setValue(0, 1, 200);
>
>      var options = {};
>      options['region'] = 'us_metro';
>      options['colors'] = [0xFF8747, 0xFFB581, 0xc06000]; //orange
> colors
>      options['dataMode'] = 'markers';
>
> If I replace '807' with 'San Jose', San Jose shows up... but I want to
> use metro codes :-)
>
> What am I doing wrong?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-visualization-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to