route_map

Any idea how do edit MY ROUTES MAP - /index.php/pireps/routesmap

I thought it was route_map.php, the changes are not being made.

try flown_routes_map.php . I had the same problem, it seemed obvious that it would be route_map, but no.

*If you are looking to change the style of the map instead of the default,

Go to https://snazzymaps.com/ and find a map you like, then

Replace

var map = new google.maps.Map(document.getElementById("routemap"), options);

With this

var styles = PASTESTYLEHERE

// Create a new StyledMapType object, passing it the array of styles,
// as well as the name to be displayed on the map type control.
var styledMap = new google.maps.StyledMapType(styles,
{name: "Flight Map"});
// Create a map object, and include the MapTypeId to add
// to the map type control.
var mapOptions = {
zoom: 11,
center: new google.maps.LatLng(55.6468, 37.581),
mapTypeControlOptions: {
 mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'map_style']
}
};
var map = new google.maps.Map(document.getElementById('routemap'),
mapOptions);

//Associate the styled map with the MapTypeId and set it to display.
map.mapTypes.set('map_style', styledMap);
map.setMapTypeId('map_style');

and replace PASTESTYLEHERE with your Javascript Style Array from snazzymaps

Thats exactly what I am trying to do. I have my other maps changed, just looking where to edit the route map. Thank you!!

This was a really great tip. Worked like a charm for me.

One key hint for new folks (I am also) that I would to share is where he states above:

var style = PASTESTYLEHERE

This is where you PASTE the start of Javascript code (the initial LEFT BRACKET), i.e.:

var style = [

Again, thanks for the tip!

Checked out the above, thanks, I’m gonna try our front page Live acars map, hehehe, wish me luck, I might drown.

Cool map site by the way, didn’t even know it exsisted, again thanks.

Jimbo

No worries, for the ACARS Map, you may want to have a look at this