Questions tagged [google-maps-drawing]
10 questions
                    
                    3
                    
            votes
                
                2 answers
            
        Add a 3D layer on a Google Maps object
I want to add a 3D layer showing cloud location and elevation on a Google Maps.
The idea is that when you tilt the map (ctrl+drag in Earth mode) you could see how high each cloud is.
I found this article which explains how to add 3D buildings but…
        
        MasterScrat
        
- 7,090
 - 14
 - 48
 - 80
 
                    2
                    
            votes
                
                1 answer
            
        google maps API - "toGeoJson" returns object with geometry null
I'am using the google maps Drawing Layer (Library) to draw shapes on my map.
Once finished drawing all the shapes I call "toGeoJson" function from the google maps api.
The object i receive look like this:
object received when calling "toGeoJSON"
I…
        
        Boaz Yaari
        
- 73
 - 2
 - 7
 
                    1
                    
            vote
                
                1 answer
            
        How to completely remove parsed geoXml from map
how to remove drawn kml shape from map which is parsed by geoXml3 so that we can parse and draw a newone.
I am only seeing method of hideDocument and showDocument on geoXml but it doesn't completely remove.
let filename =…
        
        Mubasher Mukhtar
        
- 19
 - 4
 
                    1
                    
            vote
                
                1 answer
            
        Set Display order of polygons in Google Maps
I have a requirement to define some zones within a particular area using Polygons in Google Maps with the drawing library.
I pretty much have the framework in place but i have noticed that sometimes the order of my polygons is not as i'd expect.
I…
        
        JazziJeff
        
- 721
 - 4
 - 17
 - 35
 
                    0
                    
            votes
                
                0 answers
            
        TypeError: Cannot read properties of undefined (reading 'drawing')
I'm not able to get the issue, looks like drawing library is not loaded, but when I try with URL in browser, it seems to have drawing code. Why I'm not able to access maps object which is undefined.
return createApp({ render: () => h(app, props) })
…
        
        Mohsin Ali
        
- 37
 - 1
 - 8
 
                    0
                    
            votes
                
                1 answer
            
        Select a Google Maps Polygon outside map control and modify properties
I'm trying to modify a polygon when an event is triggered outside the map control and seem to be hitting a brick wall.
i have a series of divs to the right of my map and would like to change the strokeweight property on the polygon to a heavier line…
        
        JazziJeff
        
- 721
 - 4
 - 17
 - 35
 
                    0
                    
            votes
                
                1 answer
            
        Continue drawing a polyline in google maps v3
Is it possible to turn on drawing mode for an existing polyline with a google's DrawingManager?
It's possible in Google Maps web app when going to custom map editor (My Maps in menu -> Create map -> Draw). Then create a polyline,  right-click on the…
        
        Konstantin Smolyakov
        
- 735
 - 1
 - 7
 - 14
 
                    0
                    
            votes
                
                1 answer
            
        How can I have vertical drawing tool controls
I looked in the positioning docs and googled and don't see anything about it. This looks ridiculous tho even when their own controls are vertical. Is this possible?
        
        Oscar Godson
        
- 31,662
 - 41
 - 121
 - 201
 
                    -1
                    
            votes
                
                1 answer
            
        How to copy and scale a Shape using the Google Maps Javascript API drawing library?
I'm creating a Google Map in my React application, where I would like the user to be able to draw shapes, with an additional functionality being that once a user finishes drawing a shape, an additional shape must be added to it as an outline, as…
        
        Anurag Srivastava
        
- 14,077
 - 4
 - 33
 - 43
 
                    -1
                    
            votes
                
                1 answer
            
        How to store useful information about a polygon drawn by google maps drawing tool and then again draw it by that information?
I am trying to draw a polygon with maps drawing tool. Now I want to store useful information about that polygon in the database so I can again draw that same polygon by retrieving the data.
what is that information and how I can use that to draw…
        
        aditya81070
        
- 678
 - 1
 - 5
 - 22