Hello,
Is it possible to limit the display of GoogleMapsOverlay on the area of a polygon which is in another overlay (FeatureLayer) ?
Thank you for helping
Hello,
Is it possible to limit the display of GoogleMapsOverlay on the area of a polygon which is in another overlay (FeatureLayer) ?
Thank you for helping
Eric,
Thanks for your questions!
I think you meant that you want to set a restrict area for displaying the Google Maps, the restrict area should be from another overlay(feature layer), so I think you can use the following code to try:
Map1.RestrictedExtent = yourFeatureLayer.GetBoundingBox();
Hope it can help you, if I misunderstand anything please let me know again,
Thanks,
Scott,
Scott, thank you for your answer.
It's not exactly what I try to do ... Please see below.
I think I can do it with the superposition of layers. But I wonder if it is not possible to use an "intersection" between the GoogleMapsOverlay and the shape in the other layer ?
Eric,
Thanks for your explanations!
I think I understand your requirement fully now, you want to implement the intersection operation between the GoogleMapsLayer and the shape file layers. If that I think it is not possible to do, because of the GoogleMapsLayer just returns a image to us and we fetch it to display on the map control, actually the GoogleMapsLayer is a image to display on the map control, it cannot support the intersection operation, the intersection operation is just for vector data files, not for the image files.
Any more questions please let me know,
Thanks,
Scott,
OK, thank you Scott for this confirmation.
Thanks
Eric
Eric,
You are welcome, any more questions please let us know again,
Thanks,
Scott,