I have put together an application using Oracle Application Express that displays polygons on a map. I've created 2 functions that cut polygons; one where a polygon is cut by another overlapping polygon and a 2nd function where a polygon can be cut by a polyline drawn through it. The purpose of these functions is to enable the creation of neighbouring polygons that do not overlap.
The sample app is available at (real app is behind company firewall and will use Premier API); http://apex.oracle.com/pls/otn/f?p=19913:2 Right click on the map for a context menu. The problem I have is with the "Cut with Region" (i.e. cut with a polygon) option; it works in many cases but not all. The code behind it is quite complex and convoluted which leads me to believe a far better solution is available out there somewhere. Despite much searching, I have not been able to find an algorithm that would work reliably. I know this issue is probably one of geometry rather than an issue with the Maps API but I'm hoping one of the gurus who contribute here might be able to point me in the right direction. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps 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-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
