T
T
tonybeat2017-02-09 16:35:54
JavaScript
tonybeat, 2017-02-09 16:35:54

How to fix the label in the center of the map permanently?

I count the coordinates of the place in the center of the map and write them to the console.
I want the marker on the map to be permanently fixed in the center. So that I move the map and the mark remains in its center.
How to do? joxi.ru/YmEDjJKf0MPkyr

marker = new google.maps.Marker({
                position: myLatlng,
                map: map,
                title: 'Default Marker',
                draggable:false
            });

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lnked, 2017-02-09
@tonybeat

So ?

R
Roman Shcherbokov, 2017-02-09
@drogwur

Maybe you don't need a label?
For example, add a control

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question