30 and 36. If I overlay the kml w/ KmlLayer will .Contains(latlng) know the boundaries for each districts? Then I could use a case conditional to point the users latlng to the correct voting location.
On Fri, Oct 15, 2010 at 12:31 PM, [email protected] <[email protected] > wrote: > On Oct 15, 10:15 am, "ZAPP! Rowsdower" <[email protected]> wrote: > > Any help at all would be greatly appreciated man I got this wkend to > figure > > it out. I dont have much javascript experience other then your average > > scriptkiddie skills. I like to use php. > > Do you know which districts are not showing up? That might help me > localize the problem. > > I ran the kml through a validator, it had minor problems, but nothing > that should cause this. > > I'm not sure I would use geoxml3 for a time critical project right > now, and when you decide to use it, I would suggest using a local > copy. The version in the project may change and break your map at any > time (as can the development version of the v3 api...) > > -- Larry > > > > > On Fri, Oct 15, 2010 at 11:59 AM, [email protected] < > [email protected] > > > > > > > > > wrote: > > > On Oct 15, 9:37 am, "ZAPP! Rowsdower" <[email protected]> wrote: > > > >http://kaufmanmaps.com/votemap.html > > > > > Your kml looks OK on google maps: > > > > >http://maps.google.com/maps?client=gmail&q=http:%2F%2Fkaufmanmaps.com. > .. > > > (except it is all the same color) > > > > > I would expect it is a problem with geoxml3's polygon handling. I'll > > > look into it. I appreciate the test case. > > > > > You may want to look at the example again, I updated it to handle > > > points outside the polygons, you may want to modify it to handle them > > > some other way. > > > > > -- Larry > > > > > > <http://kaufmanmaps.com/votemap.html>After I get the overlay looking > > > right I > > > > need to work out the rest. When someone searches for their address > the > > > > little infobubble that pops up will have a "where do I vote link" > that > > > will > > > > let them what voting precinct their in and call the directions > service > > > > giving them directions from their address to a predefined latlong of > the > > > > correct voting location provided by another point kml I have. Or > maybe an > > > > array with the latlongs in it if thats faster. > > > > <http://kaufmanmaps.com/votemap.html> > > > > On Fri, Oct 15, 2010 at 9:57 AM, [email protected] > > > > <[email protected]>wrote: > > > > > > > On Oct 15, 7:30 am, "ZAPP! Rowsdower" <[email protected]> wrote: > > > > > > I guess its the 3rd party Its the v3_epoly. I tried using a kml I > > > made > > > > > > with "mapwindow" but it left out a few shapes. Something is > getting > > > > > > lost in the translation. Whats the best method of converting a > shp to > > > > > > a kml ...or a xml? Less symbology the better (no outlines etc)? I > > > > > > think I need a xml so .Contains(latlng) knows when a point I > lookup > > > is > > > > > > within the boundaries of a certain polygon huh? > > > > > > > We could help if you provided a link to your map that doesn't work. > > > > > > > -- Larry > > > > > > > > On Fri, Oct 15, 2010 at 8:29 AM, [email protected] > > > > > > <[email protected]>wrote: > > > > > > > > > On Oct 15, 6:21 am, shaun York <[email protected]> wrote: > > > > > > > > Im trying to overlay 42 poly's that cover my county. They > don't > > > > > > > > display though. Is there anything special I have to pass > shp2text > > > to > > > > > > > > generate the correct .xml? I can draw poly's with xml with > geoxml > > > on > > > > > > > > google right? > > > > > > > > > If you are using the v2 Google Maps API. This group is about > the > > > v3 > > > > > > > Google Maps API. The equivalent built in is KmlLayer, not > GGeoXml, > > > > > > > unless you are asking about the GeoXml 3rd party kml parser, > which > > > > > > > works with v2. > > > > > > > > > -- Larry > > > > > > > > > -- > > > > > > > You received this message because you are subscribed to the > Google > > > > > Groups > > > > > > > "Google Maps JavaScript API v3" group. > > > > > > > To post to this group, send email to > > > > > > > [email protected]. > > > > > > > To unsubscribe from this group, send email to > > > > > > > [email protected]<google-maps-js-api-v3%[email protected]> > <google-maps-js-api-v3%2b[email protected]> > > > <google-maps-js-api-v3%2b[email protected]> > > > > > <google-maps-js-api-v3%2b[email protected]> > > > > > > > . > > > > > > > For more options, visit this group at > > > > > > > > http://groups.google.com/group/google-maps-js-api-v3?hl=en.-Hide > > > > > quoted text - > > > > > > > > - Show quoted text - > > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > Groups > > > > > "Google Maps JavaScript API v3" group. > > > > > To post to this group, send email to > > > > > [email protected]. > > > > > To unsubscribe from this group, send email to > > > > > [email protected]<google-maps-js-api-v3%[email protected]> > <google-maps-js-api-v3%2b[email protected]> > > > <google-maps-js-api-v3%2b[email protected]> > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.-Hide > > > quoted text - > > > > > > - Show quoted text - > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google Maps JavaScript API v3" group. > > > To post to this group, send email to > > > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-maps-js-api-v3%[email protected]> > <google-maps-js-api-v3%2b[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.- Hide > quoted text - > > > > - Show quoted text - > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-maps-js-api-v3?hl=en.
