Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have implemented a google map using V3 js API. I am drawing about 500 zip code polygons inside the map. The colouring of the zip code polygons depends upon certain conditions which is working fine. Like I am assigning distinct colours to a set of zipcodes. But the problem is when I am zooming in the map some of the zipcode polygon colours getc changed. How can we fix it.

Image links: http://imm.io/13kuK - at normal zoom level. http://imm.io/13kvN - when zoomed in

For ex: I am pulling 30 zipcodes from my DB. I am dividing those 30 zipcodes into 5 regions(say depending upon highest sales to lowest sales). Each region will be marked by a particular color.Thus in this case 30 polygons will be plotted with 5 regions so as having 5 different colors. Now when I am zooming up the map there is no change in the grouping, but some of the polygon(may be 3-4) colors overlap to other polygons. If number 3 region has color "Yellow" in normal map, when I zoom in the map some of the polygons of region 3 get overlapped by "Red" color. Where as "Red" color belongs to region 1 zip code polygons.

share|improve this question
1  
Difficult to say, since you haven't really shown us much. Can you please edit your question to include the code you are trying to use (or a link to it, if its large), and details of what you expect to happen, plus what happens instead and under what conditions that happens. Please remember we can't see your screen, so you have to provide clear, explicit descriptions to allow us to understand what is happening and so help you. –  BradHards Apr 12 '13 at 9:48
1  
What are the criteria that the zip codes are colored according to? Do those parameter change when you zoom in/out? Does the color really change or does it just become darker/less transparent? Since you havent shown any code its hard to answer this question. But if the polygon gets darker that might mean that new overlapping polygons are getting added to the map. –  Tamas Apr 15 '13 at 8:36
    
I have added an explanation in my original question. Can anyone pls chk and reply soon. –  sandeep Apr 19 '13 at 9:28
    
Closing because this question is already cross-posted on SO at stackoverflow.com/questions/16141233/…. –  whuber Apr 22 '13 at 12:49
add comment

closed as too localized by whuber Apr 22 '13 at 12:49

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.