<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: gmap legend in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/gmap-legend/m-p/13679#M272</link>
    <description>Since you have a 'color' variable, I assume you're annotating markers/dots on a gmap?&lt;BR /&gt;
&lt;BR /&gt;
If you annotate markers on a map, then you also have to annotate the color legend on the map - there's nothing built-in/automated to do it when you're using annotate.</description>
    <pubDate>Mon, 03 May 2010 12:46:03 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2010-05-03T12:46:03Z</dc:date>
    <item>
      <title>gmap legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gmap-legend/m-p/13678#M271</link>
      <description>I defined the dots on my gmap as follows:&lt;BR /&gt;
	if num_inj=1 then color='orange';&lt;BR /&gt;
	if num_inj&amp;gt;1 and inj_num&amp;lt;4 then color='red';&lt;BR /&gt;
	if num_inj&amp;gt;3 then color='maroon';&lt;BR /&gt;
&lt;BR /&gt;
How do I add a legend to my gmap to show which level of num_inj corresponds to which color?&lt;BR /&gt;
&lt;BR /&gt;
goptions device=png&lt;BR /&gt;
gunit=pct htitle=6 htext=4&lt;BR /&gt;
ftitle="arial" ftext="arial"&lt;BR /&gt;
ctitle='black' ctext='black'&lt;BR /&gt;
;&lt;BR /&gt;
legend1 label=none value=(h=3 j=r) across=1;&lt;BR /&gt;
pattern1 c=cxC3CD03 v=s;&lt;BR /&gt;
goptions border cback=cx61CACA;&lt;BR /&gt;
proc gmap map=ca_map data=ca_map anno=all_anno;&lt;BR /&gt;
id state county; &lt;BR /&gt;
choro state /&lt;BR /&gt;
	coutline=cx578B00&lt;BR /&gt;
	nolegend&lt;BR /&gt;
	discrete&lt;BR /&gt;
	legend=legend1&lt;BR /&gt;
	;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
Thank you.</description>
      <pubDate>Fri, 30 Apr 2010 19:14:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gmap-legend/m-p/13678#M271</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2010-04-30T19:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: gmap legend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gmap-legend/m-p/13679#M272</link>
      <description>Since you have a 'color' variable, I assume you're annotating markers/dots on a gmap?&lt;BR /&gt;
&lt;BR /&gt;
If you annotate markers on a map, then you also have to annotate the color legend on the map - there's nothing built-in/automated to do it when you're using annotate.</description>
      <pubDate>Mon, 03 May 2010 12:46:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gmap-legend/m-p/13679#M272</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-05-03T12:46:03Z</dc:date>
    </item>
  </channel>
</rss>

