/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.triz.util;

import com.triz.trizservice.service.TransactionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author abderrahim.TOUAIBIA
 */
@Service()
public class UtilGMap {
    
    @Autowired
    private TransactionService service;
    
    private Double centreLatitude= 36.481610506719534;
    private Double centreLangitude= 2.8055021166801453;
    private int zoom = 11;
    
    public static String[] colorLine = new String []{"RGB(192,31,31)"
                                            ,"RGB(192,116,31)"
                                            ,"RGB(92,100,31)"
                                            ,"RGB(192,150,31)"
                                            ,"RGB(192,180,31)"
                                            ,"RGB(192,200,31)"
                                            ,"RGB(192,200,200)"
                                            ,"RGB(192,74,200)"
                                            ,"RGB(96,113,226)"
                                            ,"RGB(168,69,226)"
                                            ,"RGB(226,70,226)"
                                            ,"RGB(192,180,200)"
                                            ,"RGB(192,100,31)"
                                            ,"RGB(192,180,200)"
                                            ,"RGB(92,100,31)"
                                            };
    
    public static String[] color = new String []{"http://maps.google.com/mapfiles/ms/micons/blue-dot.png","http://maps.google.com/mapfiles/ms/micons/blue.png"
                                            ,"http://maps.google.com/mapfiles/ms/micons/green-dot.png","http://maps.google.com/mapfiles/ms/micons/green.png"
                                            ,"http://maps.google.com/mapfiles/ms/micons/ltblue-dot.png","http://maps.google.com/mapfiles/ms/micons/lightblue.png"
                                            ,"http://maps.google.com/mapfiles/ms/micons/red-dot.png","http://maps.google.com/mapfiles/ms/micons/red.png"
                                            ,"http://maps.google.com/mapfiles/ms/micons/pink-dot.png","http://maps.google.com/mapfiles/ms/micons/pink.png"
                                            ,"http://maps.google.com/mapfiles/ms/micons/yellow-dot.png","http://maps.google.com/mapfiles/ms/micons/yellow.png"
                                            ,"http://maps.google.com/mapfiles/ms/micons/purple-dot.png","http://maps.google.com/mapfiles/ms/micons/purple.png"
                                            ,"http://maps.google.com/mapfiles/ms/micons/orange-dot.png","http://maps.google.com/mapfiles/ms/micons/orange.png"
                                            ,"http:// google.com/mapfiles/kml/paddle/wht-diamond.png","http:// google.com/mapfiles/kml/paddle/wht-square.png","http:// google.com/mapfiles/kml/paddle/wht-stars.png"
                                            ,"http:// google.com/mapfiles/kml/paddle/blu-diamond.png","http:// google.com/mapfiles/kml/paddle/blu-square.png","http:// google.com/mapfiles/kml/paddle/blu-stars.png"
                                            ,"http:// google.com/mapfiles/kml/paddle/grn-diamond.png","http:// google.com/mapfiles/kml/paddle/grn-square.png","http:// google.com/mapfiles/kml/paddle/grn-stars.png"
                                            ,"http:// google.com/mapfiles/kml/paddle/red-diamond.png","http:// google.com/mapfiles/kml/paddle/red-square.png","http:// google.com/mapfiles/kml/paddle/red-stars.png"
                                            ,"http:// google.com/mapfiles/kml/paddle/purple-diamond.png","http:// google.com/mapfiles/kml/paddle/purple-square.png","http:// google.com/mapfiles/kml/paddle/purple-stars.png"
                                            ,"http:// google.com/mapfiles/kml/paddle/pink-diamond.png","http:// google.com/mapfiles/kml/paddle/pink-square.png","http:// google.com/mapfiles/kml/paddle/pink-stars.png"
                                            };
    public static String[] color_icon = new String []{"icons8-truck-50_bleu.png","icons8-truck-50_green.png"
                                            ,"icons8-truck-50_jaune_1.png","icons8-truck-50_gris.png"
                                            ,"icons8-truck-50_marron.png","icons8-truck-50_noir.png"
                                            ,"icons8-truck-50_orenge.png","icons8-truck-50_red.png"
                                            ,"icons8-truck-50_jaune_viole_2.png","icons8-truck-50_jeune.png"
                                            ,"icons8-truck-50_rose.png","icons8-truck-50_viole.png"
                                            ,"icons8-truck-50_viole_1.png","icons8-truck-50_vert.png"
                                            };

    public void setCentreLatitude(Double centreLatitude) {
        this.centreLatitude = centreLatitude;
    }

    public void setCentreLangitude(Double centreLangitude) {
        this.centreLangitude = centreLangitude;
    }

    public int getZoom() {
        return zoom;
    }

    public void setZoom(int zoom) {
        this.zoom = zoom;
    }
    
    
}
