For the want of a default, as you state the map is loaded with the street view's 'pegman' enabled.
It would be trivial to add the hardcoded value
streetView: false
to the map options, to switch him off.
What would be better, is to allow this value to be configurable in the property editor. Though, I know this will make the task multiple times longer to write.
A clean crisp map with as little extras added, forcing the editor to focus on the core task in hand OR
Give the content editor all the tools he has come to love and expect from a google map including the ability to switch to satellite and/or street view.
Being a suave sophisticated user (?), I want all the bells and whistles - but who can argue with the minimalist approach.
So yeah, this all needs to be configurable. I've been keen on being able to change the colours of the google map too - sexy grey scale FTW.
Let me get a bit of free time, and I will add this stuff. Because, up to now, nobody has asked for this.
Disable StreetView in editor control?
Hi Jonathan,
Is it possible to disable the little StreetView man/icon in the map's controls?
If not, then would you be interested in a pull-request for this?
e.g. to add a checkbox to the data-type config
Thanks,
- Lee
Hey Lee,
Right now, the map is being loaded with the args (See line 1192 of agm.js)
For the want of a default, as you state the map is loaded with the street view's 'pegman' enabled. It would be trivial to add the hardcoded value
to the map options, to switch him off.
What would be better, is to allow this value to be configurable in the property editor. Though, I know this will make the task multiple times longer to write.
Which approach did you imagine ?
Cheers
Jonathan
Quick note, the param is...
Sometimes I'm stupid, you state you are gonna do it in the config.
Yes please, a pull-request would be lovely
Thanks Jonathan!
I'll hardcode it for an immediate fix - my client keeps dragging "pegman", for some reason?
A pull-request for you had been added my TODO list... don't hold your breath might be later this week or next.
Cheers,
- Lee
Question about the data-type option, do you think StreetView should be enabled or disabled by default?
Personally, I'd go with disabled and someone would need to enable it explicitly.
Cheers,
- Lee
I suppose its what you are trying to achieve:-
Being a suave sophisticated user (?), I want all the bells and whistles - but who can argue with the minimalist approach.
So yeah, this all needs to be configurable. I've been keen on being able to change the colours of the google map too - sexy grey scale FTW.
Let me get a bit of free time, and I will add this stuff. Because, up to now, nobody has asked for this.
Cheers
is working on a reply...